PDA

Click to See Complete Forum and Search --> : shutting down a win16 application


OmegaZero
Jan 12th, 2001, 04:56 PM
ok, I have a program that I need to shut down. The only problem is that it is a win16 application. I CANNOT shut the file down by force, or it will cause a fatal exception error and the computer has to be rebooted. When you shut down the program manually, you have to go to file-->exit and then it asks you if you are sure if you want to close it. If you click yes then it saves backup files and closes. Does anybody know of a way for me to simulate hitting file-->exit and then clicking yes through code? I need this all to be automatted is the only reason I ask. :)

Thanks to anybody who can help with this!!!