Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP.exe to different VFP.exe
Message
De
16/02/2021 10:59:10
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
16/02/2021 10:49:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01678195
Message ID:
01678270
Vues:
41
>>Thank you very much for the assistance. I am attempting to let the launcher icon switch to an existing VFP6. How can the launcher app then say VFP6.DoCmd?
>>
>
>Mike, to do that wouldn't "Vfp6" be launched as an automation server? I don't think that will possible with an executing process.
>
>An alternative, I think, is to set a Dynamic Data Exchange channel and let the application listen to the launcher.

I was looking into AccessibleObjectFromWindow API. The company has a launcher which directly ran their legacy app. So there was only one active icon. By trying to release the launcher, now 2 icons are on the taskbar. One for the launcher and one for the running legacy app.

The trick is how to detect the startup folder of each and switch to the one corresponding to the launcher's start up folder. Yes, the app can only one one instance per startup folder.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform