Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Only one copy of exe is runing
Message
 
À
19/07/2001 13:49:31
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00532744
Message ID:
00532769
Vues:
13
This message has been marked as the solution to the initial question of the thread.
>Hello
>
>How to force one exe of application runing at anytime?
>
>Thanks
>Mo

Do you mean 1 instance per computer or 1 instance for the LAN? If you mean 1 instance per computer, you can simply use:
if app.previnstance then
   Msgbox "Application is already running!!!"
   end
end if
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform