Originally Posted By: Glenn Barnas
 Originally Posted By: Mart
Glenn's example might be a better solution.


He means me (Glenn) not you (Glenn). ;\)


LOL Yep I did mean you, me, him, ?? ok I mean Glenn B. Names should be unique just to prevent this.

 Quote:

I've had mixed results with the logoff() function. You might want to look into external solutions. I seem to recall that running explorer.exe?? with certain args would reliably log the user off.


Iirc that was rundll32.

 Quote:

Forced immediate logoff
rundll32 user32.dll,ExitWindowsEx

Using Rundll


Edited by Mart (2007-08-09 04:01 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.