VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Reboot the machine

by Bhuwan Chand Joshi (69 Submissions)
Category: Sound/MP3
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 21st July 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Reboot the machine

Rate Reboot the machine



'Declare the function below in a standard module

Public Declare Function ExitWindowsEx Lib "User32" Alias "ExitWindowsEx"(ByVal uFlags as Long,ByVal dwReserved as Long) as Long

Public sub Form_Load()

Call ExitWindowsEx(EWX_REBOOT,0)

End Sub

'This program reboot your machine 


Download this snippet    Add to My Saved Code

Reboot the machine Comments

No comments have been posted about Reboot the machine. Why not be the first to post a comment about Reboot the machine.

Post your comment

Subject:
Message:
0/1000 characters