Pls explain why it doesnt work in Win 2000 Pro SP1.Code:Private Sub Command1_Click() answer = MsgBox("Are You Sure You Want To Close Windows", vbYesNo) If answer = vbYes Then ss = ExitWindowsEx(EWX_SHUTDOWN, 0) End If End Sub
And what code will work


Reply With Quote