I've written a program that I want to run all the time a user is logged in. The problem comes when they log off with unsaved stuff. At this point the program (excel say) asks if they want to save the changes / lose the changes or cancel the logoff. If the user presses cancel then Windows does not close down (expected) but my program does shut down (not expected). How can I prevent this????
I'm using 2000.