Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Idle time calculation
Message
From
02/06/2004 12:01:54
 
 
To
27/05/2004 13:11:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00907707
Message ID:
00909288
Views:
12
>>Hi all ...
>>
>>I'm looking for a way of calculating the time a PC has been left idle (ie no keyboard / mouse action) in a VFP 8.0 environment. I'm sure is probably easily acheived, but just wondered if someone could give me a quick fix.
>>
>
>I wrote an article about taking advantage of idle type in an application; it appeared in the December '03 FoxPro Advisor. It should give you some ideas.
>
>Tamar

Thanks Tamar ...

That article was very useful, however, I'm having a problem with the two timers. I'm actually using your code to pop up a login screen after a set period of Idle time, however, the timer which is binding the KeyPress & MouseDown events of each form seems to be resetting the first timer. This means that the timer which pops up my login screen after a set period of time will never kick in, as the binding timer event is set to run every 15 seconds. Do you know any way around this problem ??
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform