Check if an Application is Idle for a Period of Time
Version Compatibility: Visual Basic 6, Visual Basic 5
Basically, you can use Timer control and _Mouse... and _Key.... events to accomplish this task. But if your form has a lot of controls....
Instructions: Copy the declarations and code below and paste directly into your VB project.