
30/12/2004, 05:40
|
 | | | Fecha de Ingreso: mayo-2004 Ubicación: Lucentum
Mensajes: 6.192
Antigüedad: 20 años, 10 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 |