>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