-
i would like to shutdown my system using a vb program after closing all the files in the other applications currently running in windows.
if i use "exitwindowsex " i am able to shutdown the machine but the files in other applications are not getting saved.
i would like to know the procedure to save the datas automatically and come out of windows to shutdown the machine.
kindly help me with the details
please mail me at
[email protected]
-
You cant save the files automatically , all u can do (at least i think so ) , u are to close each app running , not force close , then each app will ask u "Save , Cancel , Dont save " .
i dont know if there is a way to send "a message " to each app telling it to execute Save command and close
if u dont know how to use the close and frceclose functions (API ) just post i ll reply with the nessesary decalarations .