Home

Created By Wesley Griffin

 
 
 Show the Windows Shut Down Dialog.
 
  Home > Source CodeSystem/API > Show Shut Down Dialog
 
  Place the following code into the code window of a form:
 
 
Private Declare Function SHShutDownDialog Lib "shell32" Alias "#60" (ByVal Unknown As Long) As Long
 
  To show the Windows Shut Down Dialog box just call the following code in a sub or function:
 
 
SHShutDownDialog 0
 
 

 Top.

 
  Warning:
All material from this site must be used at own risk.  VB First Aid will take no responsibility for any loss of data or any other errors.  The material on this site was written for Visual Basic Version 6, therefore compatibility with other versions may cause errors.