User activity (1 Viewer)


New member
Local time
Tomorrow, 02:26
Sep 29, 2020
I've attached a sample database (Access 2000 format) that uses Windows Message hooks to capture keyboard/mouse activity to the database. Opening the database will open a form in which the User can type some miscellaneous text, but if the computer remains idle (no keyboard or mouse activity) or if the Windows has the focus on another application, the database will close and Access will exit after ten seconds.

You can use different timeout values by simply changing the value of the timeout constant in this line of the mdlTimer Module:
Private Const lTimerMax As Long = 10

This seems to be an amazing code. Unfortunately I am using Windows 10 (64bit) in MS Access 2016. I would appreciate if this code can be converted to support my version.


I’m here to help
Staff member
Local time
Today, 12:56
Oct 29, 2018
Hi. Welcome to AWF!

I moved your topic to a new thread instead of adding on to this old thread.

Users who are viewing this thread

Top Bottom