idle time for only my application

  • Thread starter Thread starter henk
  • Start date Start date
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.
 
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.
 
Back
Top