how to log off PC?

nehakothari84

New member
Joined
Mar 28, 2008
Messages
3
Programming Experience
Beginner
i am making the project on cyber cafe mangement. in that i wish to logoff my system as soon as i press "logout" button of my project form. for that which method should get invoked? plz tell meeee
 
You can also use the Shutdown.exe Windows application:
VB.NET:
Process.Start("shutdown.exe", "-l")
 
Back
Top