Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force application to close
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00079232
Message ID:
00092751
Views:
35
>You can create a dummy file on the server and have your app check for the existance of this file using a timer. If the file exists, the app will close itself. Or you can use a dummy table and change the value of one field, etc.

Vlad,

Sorry for waiting so long to reply, but I've been busy with my other job that pays the bills. In using this technique you talk about above, where would be the best place to put the timer control, and when would I call the timer event to check for the existence of the changed field or created "dummy file" on the server if I want to close the app when idle over...say 30 minutes? I guess I have another option here and that would be to pick a preset time that is saved in the "dummy table" that the timer event checks for every 30 minutes. If the timer event returns a time greater than the preset time it would then auto close the app, or maybe even prompt the user so they can extend working time for another 30 minutes if they wish. I'll stop rambling now and wait for your expert advise!

Thanks.

John
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform