Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running VFP 8 EXE from VFP 6 app
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00796315
Message ID:
00796326
Views:
9
>I need to run a small (relatively, about 700 K) executable compiled with VFP 8 from a VFP 6 app. I don't want a separate window to pop up; the VFP 8 app will get parameters from VFP 6. That is, the user would not even know that there are two .exe in place. What is the most efficient way of doing this: RUN? or another method?
>
>TIA for any suggestions.

Depends on what the EXE actually is. IF it is a standalone EXE, then all you can do is RUN /n MyVFP8App.EXE parm1 parm2 ... parmX You also would need to compile into the EXE a CONFIG.FPW file that has SCREEN=OFF in it.

If possible, design the VFP8 EXE to be a COM server when compiled that you can CREATEOBJECT on in the VFP 6 app. Then you can call methods in it and actually get return values, set and query properties, etc.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform