Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run command in other application
Message
De
28/09/2011 05:35:33
 
 
À
28/09/2011 05:21:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01525018
Message ID:
01525019
Vues:
68
>I have two application, both VFP9, both mine, application A needs to launch a specific form in application B passing a record ID so that it is displayed in application B.
>
>I now how to do this by running application B and passing parameters without a problem, I can use an OLE Public method to do this using CREATEOBJECT() and make application B visible.
>
>However what I would like to do if application B is already running is maximise the running instance and launch the form in the currently running instance.
>
>I know how to find out if an application is running, but how can I get some sort of handle to the instance so that I can pass instructions?

I think this should be (also) possible via getobject(), but I never took the steps for a self-written server.

HTH

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform