>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