I have devloped and custom toolbar in C# and band objects.I have problem while installing the toolbar.I can able to install, but i cannot view them.Can we use installer class for custom installation.If so please let me know
Can anybody help with a suggestion on how to set a picture as desktop wallpaper using c#?
I have begun to do it "the hard way" by starting a picture viewer program and trying to set it from there but this solution is not elegant at all and doesn't satisfy me.
Thanks for your reply Martin but I forgot to mention that I have already used that code. At first it works just fine but after a shutdown or restart the wallpaper disappears from desktop but if I go to Properties/Desktop it appears to be there. This is some voodoo thing.
Thanks Giorgi. It works. But the thing that intrigues me is why this code works and the other doesn't. The parts that deal with the actual operation are identical. Probably I am missing something in the part that handles the registry.
I want to make one window unselectable while I capture some info from another (basically a popup that will be displayed over the first). How do I stop the user from changing the window's focus? I suppose I could hide the one window, but that's not really what I'm looking to do.
Problem Definition: I have to synchronize my system timing with NIST time and i have to give the synchronized time to other service.
Solution I found : For this i am getting the status of the Windows Time service and if it is in stop mode them i tried to start the service and i waited for the status to change to "Running". It is working fine.
Problem faced : When i started the service it takes some time in my system it took approx 15 seconds so after 15 seconds only my system time will be synchronized and then only i can assign this time to the next service.
Suggestion I want: How can i detect whether the time is synchronized and get notification.
I am a novice user and would like to know if is it poosible to set the "Address" field of the Internet Explorer through C#(only C#, no other language). I want to open Internet Explorer on the press of a button, such that the address field is set to a url that I want ie which is sent through the application.
I think the Question was "to set the "Address" field of the Internet Explorer" and it is not "how to start IE"
so here is my answer,
You can call the static method of process class
the second parameter is actually passed a a command line argument to the executing file
you can also use "StartInfo.Arguments" property but for that you need to create an object of process . so the first one is the easiest way in which we dont have to create any object
and dont forget to add a reference to "System.Diagnostics" namespace
hope this helps