Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run command in other application
Message
From
28/09/2011 08:35:47
 
 
To
28/09/2011 05:21:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01525018
Message ID:
01525034
Views:
58
>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?
>
>
>Regards
>
>Gary.

Years ago I wrote an tool to allow several application (in fox) to communicate with each other in real-time. It may still work.

http://www.glrsoftware.com/download/download.asp?file=SharedContext.zip
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform