Q:Reboot from vb 
Author Message
 Q:Reboot from vb


Quote:
>How would you force your pc to reboot from within a Vb prog that runs
>in background ?

Find the ExitWindows API declarations, and:

retval% = ExitWindows(67, 0) ' to boot


--
Newbiehood is not a period of time, it's a way of life.

http://www.*-*-*.com/ ~balchen
ftp://ftp.sn.no/user/balchen/



Mon, 17 Aug 1998 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VB apps that run in bkgrnd, DoEvents Qs

2. A97 Wizard Qs

3. Newbie Qs: Optimizing Stylesheet with Fields

4. Qs on applying style

5. Qs on applying style (word2000)

6. connect to robohelp qs

7. VERBATUM EXAM Qs 91947

8. handling event from control qs

9. 2 fairly simple database Qs

10. Qs: VB4.0/OLE/ODBC

11. DBCombos and some general Qs

12. Qs about OO design

 

 
Powered by phpBB® Forum Software