Shutdown your machine using VB 6.0.
Shutdown your machine using VB 6.0.
API Declarations
Public Declare Function ExitWindowsEx Lib "User32" Alias "ExitWindowsEx"(ByVal uFlags as Long,ByVal dwReserved as Long) as Long
Rate Shutdown your machine using VB 6.0.
(1(1 Vote))
//You can execute any one call as per your requirement.
//Shut down the machine
Call ExitWindowsEx(EWX_SHUTDOWN,0)
//Power Off the machine
Call ExitWindowsEx(EWX_POWEROFF,0)
//Logoff the machine
Call ExitWindowsEx(EWX_LOGOFF,0)
//Restart your machine
Call ExitWindowsEx(EWX_REBOOT,0)
End Sub
Shutdown your machine using VB 6.0. Comments
No comments yet — be the first to post one!
Post a Comment