Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to lock or excusively use database
Message
De
02/05/2000 10:51:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to lock or excusively use database
Divers
Thread ID:
00365079
Message ID:
00365079
Vues:
48
I have execute file call ac.exe, I want to make this exe only single user can use . How to make exe to single user environment . In login form ie ok button and cancel button. In ok button, I do set the public
variable multi_user to "N" as belows:-

Multi_user = "N"
then In the Ok Button check :-
If Multi_user ="N"
set exclusive on
else
set exclusive off
endi

I test run, Two persons still can get in
then i try the other ways. I put same code into the Main.prg, Well I works. It come out the message : Access Denied. But the problem the message box have three buttons ie cancel, ignore, help. I try to click ignore... It let me into the program.... Why
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform