Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP.exe to different VFP.exe
Message
From
16/02/2021 18:55:45
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
12/02/2021 14:54:01
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01678195
Message ID:
01678304
Views:
89
Mike,

>>I am trying to have a launcher find a running vfp.exe (call it target.exe) and switch to it, if it has the right startup folder. If not, I want to launch that one. I can find examples to get the target exe by window title. That won't work as the app changes the title frequently.

>>I think I want to access the _docmd of the target.exe so I can check if it is the correct target.

>>So I want to iterate through all running targets, but check their startup folder. If none are running, or not the one for this particular folder, then I want to start them. I already have the way to start them with shellexecute.

Does the launcher need to be VFP? And sorry if already answered, but is the purpose to allow deployment of new versions while prior version is in use, or what's the goal?

Regards, J
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform