system-shutdown
How to delay shutdown of an application when user logs off or shuts down Windows?
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[详细]
2023-01-03 18:48 分类:问答How cancel shutdown from a windows service C#
I have a windows service started (written in C# .net2.0). I want to detect when the computer shutdown/reboot and cancel it.[详细]
2022-12-28 12:55 分类:问答handle user logoff or machine shutdown requests on WindowsME
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[详细]
2022-12-27 02:43 分类:问答How can I shut down Windows?
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.\[详细]
2022-12-22 00:30 分类:问答.NET windows service aborted during system shutdown
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[详细]
2022-12-20 09:22 分类:问答Invoke a windows application from a windows service on system shutdown
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[详细]
2022-12-14 21:55 分类:问答