-
September 7th, 2005, 09:42 AM
#1
Log user out without keypress in VB6
Hello all,
I would like to incorporate into my program a routine such that if a user stays for some time without pressing a key, then s/he is logged out of the system.
I would be very grateful if I could be assisted in this way.
Thanks
-
September 7th, 2005, 02:31 PM
#2
Re: Log user out without keypress in VB6
Not sure if you can do it a single exe since VB6 is single threaded. Because of this, timer controls can be problem. I would setup some kind of timer and every time it fires, check a keypress dirty flag. If that flag is not set, log them off. It it is set, clear it.
-
September 7th, 2005, 05:28 PM
#3
Re: Log user out without keypress in VB6
This thread asks (and has answered) a similar question and may be of some use to you, Owoahene.
Death is life's special way of telling you you're fired.
For I do not seek to understand in order to believe, but I believe in order to understand. For I believe this: unless I believe, I will not understand. - Anselm of Canterbury (1033–1109)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|