>>Call a method you made (ie) MyTimer(). Loop & in the loop check a property you make (ie) KillTimer (among others). Have the KeyPress() method set the value of KillTimer.
>>
>>HTH
>>Tom
>
>It's not so simple. First, I must modify all the classes. (Not only for the keyboard, but also for the mouse.) Second, what if a query, report or anything else stops the timer more than the established delay? The app is not inactive, but will be close as soon as the action finishes.
Vlad
No matter what you do there will always be an exception. Thats why I suggested 2 things. One, a long delay -- ie 15 minutes. If a process takes that long your in trouble anyway (s). second, read the system clock. No matter what process occurs the system clock will be the best guage.
Tom