Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preventing application from running more than once
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00048262
Message ID:
00048264
Vues:
17
>I put code in my application that checks to see if it is already running and if it is it stops loading and informs the user with a messagebox that it is already running. I would like to modify this so if the user tries to run it a second time instead of getting the messagebox, the current running application is brought to the front and maximized. I am using VFP 5.0a.
>
>Any ideas?
>
>
>Jeff Rusch
>UW-Madison

You could replace messagebox line in your code with API call ShowWindow (see in Win32Api Help).
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform