I have a program that constantly pings the server to make sure
the connection exists if it doesn't I send
to restart windows and log the user back in automatically using
Tweak UI. While the restart "appears" to work it does not
"restart" as you would as if you would restart from the start
menu manually. Yes it does log you off but it appears to not do
a true restart. I have tried several of the other parameters to
try and get a true restart to no avail. What am I missing or
is there another way of doing this? It appears as though it
simply log's the user off.
Thanks
Doug
Doug
------------------
[This message has been edited by Douglas C. Horner (edited October 17, 2001).]
the connection exists if it doesn't I send
Code:
Ans=ExitWindowsEx(0, %EWX_REBOOT)
Tweak UI. While the restart "appears" to work it does not
"restart" as you would as if you would restart from the start
menu manually. Yes it does log you off but it appears to not do
a true restart. I have tried several of the other parameters to
try and get a true restart to no avail. What am I missing or
is there another way of doing this? It appears as though it
simply log's the user off.
Thanks
Doug
Doug
------------------
[This message has been edited by Douglas C. Horner (edited October 17, 2001).]
Comment