Access Windows shutdown dialog box
Access Windows shutdown dialog box from your VB Application.
Compatibility: VB 5, VB 6.
Category : Windows operation.
Includes : None
‘—Visual basic source Code start—
‘Windows Shut Down Dialog.
Private Declare Function SHShutDownDialog Lib “shell32″ Alias “#60″ (ByVal YourGuess As Long) As Long
Code
Private Sub mnuShutdownDialog_Click()
‘
‘Windows Shut Down Dialog. (See Declarations)
SHShutDownDialog 0
‘
End Sub
‘—Visual basic source Code end—
Related posts