Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run command in other application
Message
From
28/09/2011 05:21:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Run command in other application
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:
01525018
Views:
125
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
Map
View

Click here to load this message in the networking platform