ColdPhreze
Programmer
- Apr 15, 2002
- 93
I have written a VB.NET 2003 application. It works perfectly with Win XP SP1.
However, when installed on a PC with Win XP SP2 (or if a PC is upgraded to SP2) if my application is running, the pc will NOT shutdown or restart! This IS NOT being caused by a virus or change in the code - it is directly correlated to SP2.
The _only_ way to get Win XP with SP2 to shutdown properly when my application is running is to:
1) Manually close my application and then click Start->Shutdown again.
2) Use the command line command: shutdown -f -t 01
Option 1 is not viable, because this is an app that runs in the system tray, and no-one wants to have to first close my app to shutdown Windows. I am using option 2 as a patch, but I need this fixed, it's very important.
I will post some code to assist if needed.
Thanks for all your help.
Check out my DeVry Senior Project: and my CarPC Hardware:
However, when installed on a PC with Win XP SP2 (or if a PC is upgraded to SP2) if my application is running, the pc will NOT shutdown or restart! This IS NOT being caused by a virus or change in the code - it is directly correlated to SP2.
The _only_ way to get Win XP with SP2 to shutdown properly when my application is running is to:
1) Manually close my application and then click Start->Shutdown again.
2) Use the command line command: shutdown -f -t 01
Option 1 is not viable, because this is an app that runs in the system tray, and no-one wants to have to first close my app to shutdown Windows. I am using option 2 as a patch, but I need this fixed, it's very important.
I will post some code to assist if needed.
Thanks for all your help.
Check out my DeVry Senior Project: and my CarPC Hardware: