Determining Windows elapsed idle time in Access 2003?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How would I determine the amount of (Windows) idle time elapsed in Office
Access 2003 and then call or trigger an event.
i.e. If the current user has not used their mouse or keyboard for 15
minutes, the database will close.

Please help...
 
Doug,

That will get idle time in Access, but the question sounded more like idle
time within Windows. I had the impression that if Access was open in the
background but the user was doing something else that the time shouldn't
show as idle. For that, you would need to get a hold of the timer used for
the screen saver or some other timer within Windows. I suspect it would be
an API call to either get this value or create your own timer within
Windows, but looking through the API list, I didn't see it; however, I'm
perfectly willing to admit that I may have just browsed past it.
 
Back
Top