>> I'm trying to set a timer to exit my app after so many minutes of non-activity. Someone suggested using the screen object but I'm not sure how to do this. _Screen.ActiveForm is a property not an object so it has no events. I need to check for any activity to reset the timer.
>>
>>Eric K.
>
>You could reset the timer in every gotfocus or keypress event of every object but that seems like too much work. There may be something else you could do along these lines though!
Hm... how about form's KeyPress and form's MouseDown - should be sufficient to catch every important activity. It wouldn't catch pressing just alt/shift/ctrl, but would catch everything else. Using the form's MouseMove too may be usefull, or prove to be just an overkill.