General information
Category:
Coding, syntax & commands
Title:
Run command in other application
Environment versions
Network:
Windows 2003 Server
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only