Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Smart Start - Saying no to Multiple Instances!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00271759
Message ID:
00271771
Vues:
18
>For my application, I need some method of not allowing the user to start multiple instances of the executable. If they try to run the same executable, it should simply pop up the currently open executable-- just as many applications already do. I've looked, but can not find an easy way to do this. I'm guessing it includes use of API's of some sort. I would very much appreciate any suggestions on this matter. Thanks.

Hi Derek,

In addition to what the others have told you, you could use the Is_Run32() function I wrote (that's available in the download section under Win32 and Other APIs), or see my article from the November, 1998 issue of FoxPro Advisor on the Advisor site titled, "Create Single Instance Applications". It has the complete code necessary to implement it in the article.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform