Subscribe For Free Updates!

We'll not spam mate! We promise.

الاثنين، 7 يوليو 2014

Codes visual basic run and restart the computer

Call Shell("cmd.exe /c shutdown -l", vbNormalFocus)
' restart computer under xp system
Call Shell("cmd.exe /c shutdown -r", vbNormalFocus)
' turn of computer under xp system 
Call Shell("cmd.exe /c shutdown -s", vbNormalFocus)
' close the above operation
Call Shell("cmd.exe /c shutdown -a", vbNormalFocus)
' close all open widows and prorgams
Call Shell("cmd.exe /c shutdown -f", vbNormalFocus)


   for restart and turn of codes  windows will open and you cannot close it 
and will waitting 60 seconds 

for delay this time use this code 


(Call Shell("cmd.exe /c shutdown -s -t 10", vbNormalFocus

if you want write small message use this code

(Call Shell("cmd.exe /c shutdown -s -t 10 -c By Hani", vbNormalFocus




for more information go to dos windoe and write shutdown  

Interpreter and redeployed from vb4arb

Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 التعليقات:

إرسال تعليق