Problem synopsis: reboot fails if user clicks wrong buttons in Kix message box.QUESTION--any know way to force reboot regardless of user's clicks???
Problem duplication: Follow workaround in remarks in Kixtart resource kit.
Kix labeled message box#1--"You must quit this program before you quit windows" Click
cancel button instead of ok button.
Kix labeled message box#2--"program not responding..." Click Cancel button.
Kix code fragment, exit lines:
$final=MESSAGEBOX ("Rebooting windows to enable network settings.",
"Restored settings",4112)
SHELL "%windir%\RUNDLL32.EXE user.exe,ExitWindows"
$RC = Shutdown("","System being rebooted to enable new settings.",5,0,1)
SENDKEYS("exit{ENTER}")
Kixversion: 3.62
Any help would be appreciated, thanks.