User activity (1 Viewer)

nishan_gunarathne

New member
Local time
Today, 17:57
Joined
Sep 29, 2020
Messages
1
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:
Code:
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.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 05:27
Joined
Oct 29, 2018
Messages
21,358
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