Register Now


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Shutdown computer using VB.Net

Shutdown computer using VB.Net

Shutdown computer using VB.Net

This will explain how to Shutdown computer using VB.Net. Using VB.NET source code we can shutdown, restart, or log off a computer with few lines of code.

Here is the code to shut down the PC:

System.Diagnostics.Process.Start(“ShutDown”, “/s”)

Here is the code to restart the pc:

System.Diagnostics.Process.Start(“ShutDown”, “/r”)

Download the Source code:

Shutdown computer using VB.Net

Leave a reply

About StudentProjects.Live

A collection of source codes that I wrote in Android, ASP.NET, PHP, C#.NET, VB.NET and JAVA in a course of my career as web developer and software engineer that I would like to share to my fellow programmers. Some of the codes here is not my original work that I found over the Internet and Books while I'm learning how to program. I hope you find my work useful in your learning in programming. Please share my work to other people also who interested to learn the basics of web development and programming. Thank you very much and Happy Productive Programming Everyone.

Follow Me