idle time for only my application

H

henk

I have a hard time to get the idle time only from my application. (a
relogin box should appear after eg 1 min, when a user switch to word
and start typing for 10min, the re-login should not appear. It should
appear if my vb appication is active and there was no userinput for
about 1 min.
Found a example at http://www.vbmysql.com/samplecode/idle-time.html
wich works fine, but it's "system wide".

I tried something with me.windowstate but did not work.
 
B

Brian Henry

there is an ApplicationIdle event in the application object you can use to
see if the application is idle.. Application.Idle is it, however, its for
determining if the application is idle or processing information... I don't
know if it will be of help to you, but you can look into it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top