e72b51c5_Basic_NET_Examples_02_03_05_08__1
[0] csWindowsShutdown Library v1.4 - Example Application [2] Click Here [3] Click Here [1] 
Example of using the "csWindowsShutdown1.4" Class Library control to shutdown/logoff/reboot Windows. You can force the execution or execute the process normally. The Class Control IS Included in this zip. Check out the Class source code for alot more information. Update: Version 1.2 added 2x new features, "initiateSystemShutdown and "cancelInitiatedShutdown". Update: Version 1.3 added a new function to display the "Turn Off Computer" dialog and the option to use API or Shell to perform some of the shutdown/restart/logoff commands, along with other tweaks to the core of the library. This library has FULL intellisense documentation for most of the features. Update: Version 1.4 added a new feature that will display the "System Settings Change" Dialog with a "Computer must restart before the setting will take place". There were also some more tweaks to the library as well. Remember, Libraries made with earlier versions of VB.NET can be used in Visual Basic 2005 and Visual Basic 2008. So you can use this library in the new VBs as well...
Visual Basic Code Source - Visual Basic.NET Examples 02/03/05/08
1