VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Show ShutDown Dialog from your application only 1 API and 1 line of code,too short!!!

by BaderMubarak (1 Submission)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 8th March 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Show ShutDown Dialog from your application only 1 API and 1 line of code,too short!!!

Rate Show ShutDown Dialog from your application only 1 API and 1 line of code,too short!!!



'Don't add any control just add the following:
Private Declare Function SHShutDownDialog Lib "shell32" Alias "#60" (ByVal YourGuess As Long) As Long
Private Sub Form_Load()
SHShutDownDialog 0
End Sub


Download this snippet    Add to My Saved Code

Show ShutDown Dialog from your application only 1 API and 1 line of code,too short!!! Comments

No comments have been posted about Show ShutDown Dialog from your application only 1 API and 1 line of code,too short!!!. Why not be the first to post a comment about Show ShutDown Dialog from your application only 1 API and 1 line of code,too short!!!.

Post your comment

Subject:
Message:
0/1000 characters