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:
ExitWindowsEx (EWX_Force And EWX_Reboot, 0&)
but that didn't work.
What should I do?
Thank you,
Sir Loin





Reply With Quote