VB Code:
Private Const EWX_REBOOT As Long = 2 Private Declare Function ExitWindowsEx Lib "user32" (ByVal dwOptions As Long, ByVal dwReserved As Long) As Long ' REBOOT THE COMPUTER lngResult = ExitWindowsEx(EWX_REBOOT, 0&)
|
Results 1 to 3 of 3
Thread: VB Snippet - Reboot Windows
|
Click Here to Expand Forum to Full Width |