by anil kumar.velamuri (1 Submission)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sun 19th May 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
This Will shutdown the windows 98 system and log off the win Nt,2000 systemsby closing all the programms
'code in click event
Private Sub shut_Click()
Dim j
j = ExitWindowsEx(1, 0) ' 1 is to shutdown the system
MsgBox j 'displays 1 on sucess and 0 on failure
End Sub
No comments have been posted about This Will shutdown the windows 98 system and log off the win Nt,2000 systemsby closing all the prog. Why not be the first to post a comment about This Will shutdown the windows 98 system and log off the win Nt,2000 systemsby closing all the prog.