Visual Basic .net - vypnutí počítače, restartování ap

Datum 25. 11. 2009 23:24:19 | Rubrika: Různé


Kód nalezen na stránce:
http://forum.builder.cz/read.php?19,1182772,1182843#msg-1182843

System.Diagnostics.Process.Start (!Shutdown", "/s") 'to shutdown
System.Diagnostics.Process.Start("Shutdown", "/r") 'to restart
System.Diagnostics.Process.Start("Shutdown", "/l") 'to logoff
System.Diagnostics.Process.Start("Shutdown", "/a") 'to abort




Tento článek je z ZenCart
http://www.zencart.cz

URL tohoto článku je:
http://www.zencart.cz/modules/news/article.php?storyid=42