I have finally completed a windows application that I have been working on for a while.
Everything works beautifully, except for one detail. When the application is installed and running, I cannot restart, shutdown, or logoff the computer. It is running on Windows XP computers with the latest version of the .NET Framework.
The application sits in the system tray, and most other applications in the system tray close as normal when the restart or shutdown operation comes down, however my application does not quit. As a result, Windows cannot logoff, shutdown, or restart.
I really need to push this out to all of our labs on campus, but this one thing is holding it back.
Your expert help is greatly appreciated.
Thanks in advance.

1 answers
Well possibly you are doing lengthy processing in your applicaiton and that is now allowing it .... if you put enough Application.DoEvents(); that willl help releasing control and windows will be able to close it which you force it to shutdown. ..
answered 2 years ago by:
0
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!