Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing EXE
Message
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
Divers
Thread ID:
00415565
Message ID:
00416231
Vues:
15
>Hi All,
>I have one EXE which is on my server. i have four client machine.
>
>But i want to run this exe by one client only. when the Exe is running from one client then no other client can run this exe.
>So what code i include in this.
>
>Thanks,
>...ashish

Here are a couple fo approaches I have used in the past:
1. Set a falg in a database table on startup. Turn the flag off on exit. Do not allow entry unless the flag is off. You need a supervisor override though in case a program crashes without setting the flag back.

2. Open a specified text file for writing. The next user that tries to open the file will get an error which you can trap and give the appropriate message, etc.
George
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform