Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Restart windows


Message #1 by "Desmond" <desmond_otoole@h...> on Mon, 14 May 2001 17:38:15
Hii..

well you can use this API function
Public Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, 
ByVal dwReserved As Long) As Long

for uFlags you can fill it from 0 to 5 n you can find what will be 
happened...

Regards

Sony



>From: "Vishal Gandhi" <vishalgandhi@m...>
>Reply-To: "professional vb" <pro_vb@p...>
>To: "professional vb" <pro_vb@p...>
>Subject: [pro_vb] Re: Restart windows
>Date: Mon, 15 May 2000 14:22:47 +0530
>
>ExitWindowsEX
>----- Original Message -----
>From: "Desmond" <desmond_otoole@h...>
>To: "professional vb" <pro_vb@p...>
>Sent: Monday, May 14, 2001 5:38 PM
>Subject: [pro_vb] Restart windows
>
>
> > There is an API call that restarts or shuts down Windows. Have used it 
>in
> > the past but cant remember what it was called. Any help whould be
> > Appreciated.
> >
> >
> > Desmond.
>vishalgandhi@m...
> >
>
>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


  Return to Index