Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can VFP know if it's idle for a period of time?
Message
 
To
08/08/2001 09:51:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00541244
Message ID:
00541255
Views:
34
>I have several forms in an app. If there is no user interaction for 30 minutes I'd like to shut VFP6 down. Is there a way to do this without hardcoding a timer in each form that gets reset by control's interactive change, etc.?
>
>Thanks,
>Allen

There is no built in function like this... it would be nice though - I am writing one exactly like it right now.

One idea we had from a previous application was to simply have an application timer look at and store the current form and current control - then when the interval has elapsed, look at that again. If it is the same, shut down the program.

Since there is a possibility that the user could be in the same place, we are going to prompt for interaction, if there is none, we will quit.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform