borderAndreaVB free resources for Visual Basic developersborder

AndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincani
:: How to shutdown Windows 95...

Author  

Tessarollo Livio

Language  

VB5, VB6

Operating Systems  

Windows 95 and 98
API Declarations

Option Explicit

'-------------------------------------------------------
' exiting from windows 95
'-------------------------------------------------------

Public Declare Function ExitWindowsEx Lib "user32.dll" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long

Usage

Private Sub Command1_Click()
    Dim x As Integer

    x = ExitWindowsEx(0, 0)
End Sub

:: Navigation

Home

Miscellaneous API Tips

Previous Tip

Next Tip

:: Search this site
Google
Partners: Il portale per lui e lei | Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder