by Servando Buonpensiere (2 Submissions)
Category: Windows System Services
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 30th August 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Shut Down your Pc, Restart Windows, Restart System. Only cut the code and put in yor form.
Dim i As Integer
i = ExitWindowsEx(1, 0&) 'Shut Down
End Sub
Private Sub Command2_Click()
Dim i As Integer 'Restar Windows
i = ExitWindowsEx(0, 0&)
End Sub
Private Sub Command3_Click()
Dim i As Integer 'Restart System
i = ExitWindowsEx(2, 0&)
End Sub
No comments have been posted about Shut Down your Pc, Restart Windows, Restart System. Only cut the code and put in yor form.. Why not be the first to post a comment about Shut Down your Pc, Restart Windows, Restart System. Only cut the code and put in yor form..