Determining Windows elapsed idle time in Access 2003?

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...
 
W

Wayne Morgan

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.
 

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