| View previous topic :: View next topic |
| Author |
Message |
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Oct 10th, 2003 08:32 AM Post subject: Display Shutdown dialog screen |
|
|
| Code: | Private Declare Sub ExitWindowsDialog Lib "shell32.dll" Alias "#60" (ByVal hwnd As Long)
Private Sub Form_Load()
' Shut Down Windows dialog box.
ExitWindowsDialog 0
End Sub |
_________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Oct 10th, 2003 08:33 AM Post subject: |
|
|
| Code: | Private Declare Function SHShutDownDialog Lib "shell32" Alias "#60" (ByVal something As Long) As Long
Private Sub Form_Load()
SHShutDownDialog 0
End Sub |
_________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
|