caranya begini kayaknya :

deklarasikan dulu:

Private Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long,
ByVal dwReserved As Long) As Long

perintah di sub nya pake :
 
   ExitWindowsEx Ket, 0

   Ket : 0 = log off
         1 = shut down
         2 = restart
jadi klo mao restart pake : 
   
   ExitWindowsEx 2, 0

untuk shutdown jangka waktu tertentu tinggal kombinasikan dengan timer.
semoga dapat membantu.


Best Regards,
Fanry
IT Staff
PT. Dynea Indria
Kawasan Industri Pulogadung No 22
 


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of sonny marpaung
Sent: Thursday, December 22, 2005 10:43 AM
To: [email protected]
Subject: [indoprog-vb] Shutdown windows


dear rekan-rekan,
  Teman-teman ada yang tau caranya buat Windows 98 shutdown secara otomatis
dengan waktu yang ditentukan.
   

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]




Untuk berhenti berlangganan kirim email kosong ke :
[EMAIL PROTECTED]

Ikuti juga forum diskusi VB.net dengan 
mengirim email kosong ke [EMAIL PROTECTED]
 
Yahoo! Groups Links



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/zCsqlB/TM
--------------------------------------------------------------------~-> 

Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED]

Ikuti juga forum diskusi VB.net dengan 
mengirim email kosong ke [EMAIL PROTECTED]
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/indoprog-vb/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Kirim email ke