VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This Will shutdown the windows 98 system and log off the win Nt,2000 systemsby closing all the prog

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

Rate This Will shutdown the windows 98 system and log off the win Nt,2000 systemsby closing all the prog



'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


Download this snippet    Add to My Saved Code

This Will shutdown the windows 98 system and log off the win Nt,2000 systemsby closing all the prog Comments

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.

Post your comment

Subject:
Message:
0/1000 characters