Information générale
Catégorie:
Codage, syntaxe et commandes
>I have a vfp program (LBP.exe) that I want to run from within another vfp .exe (MAIN.exe). I have a form in Main.exe that has a command button with the click method set to:
> * -- stuff --
> do lbp.exe
> * -- stuff --
>
>when I run just the form (from the project) it goes and runs LBP, then when I exit LBP, it returns to Main. This is good... that's what I expect... When I compile Main and run Main.exe... clicking on the button starts LBP AND THEN CLOSES LBP and returns me back to main. What's happening???? The reason I have two .exe's is because LBP.exe has to stand alone... MAIN.exe is an umbrella program that will eventually call more .exe's.
>
>Am I missing something here??? Any help is greatly appreciated.... thanks...
I never run a VFP exe from other VFP exe. Anyway, you can try the RUN command (same thing as "!" command). And you maybe need to do it using a pif file (from the pif file you can set memory, graphics, etc. requirements).
Vlad
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement