Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to test if Application is already running?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to test if Application is already running?
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01101016
Message ID:
01101016
Vues:
66
How can you test if your VFP application is already running? I have been using a function called "OnceOnly" that goes out and checks if the Window titles running match the one you want to load and if it does, it stops the loading of the app and sets focus to the running app. This works most of the time, but now my client wants me to change the Window Title of the application with the name of the user after the title. The "OnceOnly" function now does not see the application as running and starts another one. Does anyone know of another way to restrict the same application from running more than once at a time?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform