Then: i = ExitWindows(66, 0)
I hope this helps, have a great day!
Jason Gorman (Jason_Gorman@scholars.com)Learning Advisor, http://scholars.comMicrosoft Authorized Technical Education CenterNovell Authorized Online Training Provider
: How do I shut down windows? In vb..
'For windows 95 or better,'Another way is to run this codeShell("c:windowsundll.exe user.exe,exitwindows")
'If you want to reboot, you can run this code:Shell("c:windowsundll.exe user.exe,exitwindowsexec")
It looks like you're new here. If you want to get involved, click one of these buttons!