hi i would want to shut down the computer when te user clicks a button. can you give me the exact code that is supposed to be between private sub and end sub ( i am a newbie). thanks
Printable View
hi i would want to shut down the computer when te user clicks a button. can you give me the exact code that is supposed to be between private sub and end sub ( i am a newbie). thanks
Try doing a search on the forum. You will find that most your questions have already been asked (and answered).
http://www.vbforums.com/showthread.p...t+down+windows
http://www.vbforums.com/showthread.p...t+down+windows
http://www.vbforums.com/showthread.p...t+down+windows
there is a shutdown command in XP that you could shell to.
type shutdown /? for parameters. its easier, I think.