Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Shut Down Windows? 1

Status
Not open for further replies.

RebeccaLynn

Programmer
Nov 17, 2003
250
US
What command or file will cause windows to shutdown when called or used in VB.net?

Also how would you have VB to restart windows?


Becca

Somtimes, the easy answer is the hardest to find. :)
 
Look into programming w/ the "Windows Management Interface" or WMI. It has a shutdown method inside of it. I beleive it's in the Microsoft.Win32.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top