Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Reference
Message
 
 
À
19/09/2002 09:52:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00702240
Message ID:
00702258
Vues:
17
See discussion in Re: Passing a parameter to an already running application Thread #699822.

>I posted this yesterday in the installation, setup and configuration category. I am posting it again in Visual Foxpro in general where it should have gone:
>
>
>I have an application compiled into an exe. I have added a file extension association to windows for *.flt to run this application and pass the file name to the application which then proceeds to load and display that document in a window within the app. Everything works fine except when the application is already loaded, it loads again and displays the document in another instance of the program. How can I have the currently running instance simply bring up the document in itself instead of loading another instance? I think it would have to start loading a new instance, then determine if it is already running (how, I'm not sure), then, if it is, pass the file name reference to the running instance and shut itself down. How could this be accomplished?
>Thanks.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform