Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting More than one instance of an Application
Message
De
01/06/1997 08:47:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Detecting More than one instance of an Application
Divers
Thread ID:
00034421
Message ID:
00034421
Vues:
73
My users minimize the application i have developed. When they want to go back to it, they accidently restart an other instance of the same application from the desktop icon. At one point there were 7 instances running. I want to detect if an instance of the app is alredy running, the new one should not start. At the moment I do it by creating a file in the root directory when the app starts. If somebody starts the app again on the same computer, it checks for this file. If found, it gives a warning message and quits. Is there a better way of doing this where I can use some native VFP function to detect it?

Thanks in advance.

Abdul Ahad
Abdul Ahad Khan
CSi
www.csi-pk.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform