Its been a long time, but I always used "killit.out" (on the net somewhere) and a flag in the user file that I could turn off.
Virgil Bierschwale http://www.virgilslist.com http://www.tccutlery.com http://www.bierschwale.com http://www.bierschwalesolutions.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Aráoz Sent: Tuesday, December 19, 2006 6:43 PM To: ProFox Email List Subject: Re: Validation of Password Dave Thayer wrote: > On 12/19/06, Ricardo Aráoz <[EMAIL PROTECTED]> wrote: >> Hi, >> I need my application to ask for the user's windows password >> and validate it (in order to be sure the user hasn't left his >> computer on and someone else is using it). Is there a way I can do this? >> > > To avoid any potential password leaks (or accusations) how about > having your program lock the computer (as in pressing > windowslogokey-L). According to > <http://www.foxite.com/archives/how-to-lock-computer-0000084011.htm> > <http://tinyurl.com/t529n> this is pretty simple: > > DECLARE INTEGER LockWorkStation IN user32 > LockWorkStation() > > dt Thanks, this will be really useful. But not right now. The problem is I cannot lock the users station, I'd be hanged. I just need to check access to my application, not to the entire workstation. [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

