Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running VFP 8 EXE from VFP 6 app
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00796315
Message ID:
00796340
Vues:
8
>>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.

This is an excellent idea, the COM server. I was thinking how to make the VFP 8 EXE return success/fail. COM server will solve this problem.
Thank you very much for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform