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 10:26:28
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
01/06/1997 08:47:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00034421
Message ID:
00034423
Vues:
30
>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


There have been lot of discussion on this same topic, pls check the previous threads.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform