Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single instance app
Message
De
24/02/1999 21:48:42
 
 
À
23/02/1999 18:58:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00190737
Message ID:
00191256
Vues:
18
You may want to try the method (using DDE) that I have uploaded in the Files section. IMHO, this is the best method because the already running instance receives a message and it knows this way to show on top itself.

The simplest method is probably to try to open exclusively a dbf and catch the error (an error will be generated when the second instance tries to open the same dbf).

Vlad

>I remember using the foxtools library to ensure that only one instance of my app was running, but I seem to have misplaced that code :)
>
>Has anyone else used foxtools to accomplish this and could you post / email me a sample of your code?
>
>TIA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform