![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/12/2004, 05:40
|
![Avatar de Eternal Idol](http://static.forosdelweb.com/customavatars/avatar65038_2.gif) | | | Fecha de Ingreso: mayo-2004 Ubicación: Lucentum
Mensajes: 6.192
Antigüedad: 20 años, 9 meses Puntos: 74 | |
Public Sub ReiniciarPc()
uflags = EWX_REBOOT or EWX_FORCE
If IsWinNTPlus() Then
success = EnableShutdownPrivledges()
If success Then Call ExitWindowsEx(uflags, 0&)
'Shell "shutdown -r -t 0"
Else
'9x system, so just do it
Call ExitWindowsEx(uflags, 0&)
End If
End Sub
__________________ ¡Peron cumple, Evita dignifica! VIVA PERON CARAJO |