Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer side effect \ force exit
Message
 
 
To
25/11/2009 08:43:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01436566
Message ID:
01436568
Views:
56
>Hi all
>
>I have to build option of forcing all the users to close the program (program will be closed automatically 30 seconds after the users getting proper message).
>
>
>I think about creating txt that when ever this file exist the project will logoff the user and will stop him to start the program before tring to accsess to the tables.
>
>I agree to take the risk of case that I will forgat to delete\rename the TXT, but I afraid to put timer on my top form that check once a minut if file exist what if it's will be in middle of other procces?
>
>?
>
>Thanks

It is a general practice. You would need to gracefully rollback all the changes. In MereMortals framework it was a built-in functionality to close all open forms and revert all changes.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform