Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Log Off Network Users Problem
[b][red]This message was edited by ScoobFan at 2004-3-31 3:33:3[/red][/b][hr]
I have a bit of a dilema. I need to log off users on a network from my pc. I wrote code to reboot the computers, giving a warning message that the computer will stud down etc. The method I used was "InitiateSystemShutdown". It gives a problem though, some of the keyboards cant use cntrl,alt or delete keys.
So, is there anyone out there that knows how to log off the computers, and not restart them as its giving problems. I thought that I could run the logoff.exe file on their computer, but it just logged me off!!
0 · ·