Results 1 to 14 of 14

Thread: [RESOLVED] Restart computer

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    537

    Resolved [RESOLVED] Restart computer

    I am trying to restart the user's computer, and I don't know which to use, ExitWindowsEx or Shell (Shutdown.exe -t 0 -r). I tried using:

    VB Code:
    1. ExitWindowsEx (EWX_Force And EWX_Reboot, 0&)

    but that didn't work.

    What should I do?

    Thank you,
    Sir Loin
    Last edited by Sir Loin; Jul 20th, 2005 at 08:30 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width