Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running an .exe inside an .exe
Message
 
To
03/10/1996 19:45:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00009314
Message ID:
00009368
Views:
28
>>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


if they are two separate .exes, you'll need to have a read events in each...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform