I am writing an application that runs in the background from startup to shutdown, and in some circumstances I need the application to display a dialogue for the user to choose whether or not to contin
I have a windows service started (written in C# .net2.0). I want to detect when the computer shutdown/reboot and cancel it.
I have to write a C# application that runs on WindowsME. Yes, I mean that Microsoft operating system that has been forgotten a long long time ago. My program needs no user interaction and as WindowsME
How can I in a Delphi application (7, trying t开发者_JS百科o port it to 2010) force the system (XP or 7) to shut down?Look at Zarco Gajic\'s tip from About.com, \"Shut down/reboot Windows 2000/XP/NT.\
My windows service is a data server with substantial cache. During service OnStop I save the cache so that no data is lost. Saving cache may take several minutes so to prevent windows service manager
I am developing a windows service in .Net 3.5 开发者_StackOverflow中文版in C#. This service is used to periodically invoke a windows form. Now I would like to hook an event to the service so that when