Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can VFP6 / 6.0a enforce only one instance without foxtoo
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00270692
Message ID:
00270695
Vues:
24
>Hi,
>
>I need to force only one instance of my app running at one time. I'm currently using foxtools to do this but I was wondering if VFP 6x has this capability without the library. I read somewhere that 6.0 incorporates a lot of functionality that previously required foxtools.
>
>TIA

Hi Larry,

Foxtools doen't really come into play to create a single instance app. There are a couple of ways to do this. Vlad Tatavu has a file here that will allow you to do it via DDE. My Is_Run32 function could be used. Personally, I use (and prefer) the method I wrote about in the November (I think) 1998 issue of FoxPro Advisor. The article is on-line at the Advisor site, and it includes complete code.
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