Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call one exe program from other exe program
Message
From
18/11/1998 20:10:48
 
 
To
18/11/1998 19:16:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00158576
Message ID:
00159075
Views:
23
>>>Hi
>>>The call from n1.exe DO n2.exe . After completion n2.exe (QUIT) it remains in memory and to close it is possible only through Task Manager. If we start for n2.exe independently it is swapped normally.
>>
>>Use the RUN /N command, and make sure it's the last line of code...
>
>Hi Bruce.
>Call n2.exe with use RUN /N I apply now as temporary. I need to suspend execution of the n1.exe program before completion of the n2.exe program.
>It is realized with use Run And Wait - Mike Rissen .Íî owing to not completions of the n2.exe program the n1.exe program remains in waiting.
>In addition n2.exe should take into account common variable
>From the n1.exe program which creates them in the Application class.


take a look in the FAQ - I did a writeup on launching and waiting on an application using the CreateProcess() API call to start the application and a few others to then monitor the application and grab it's termination code. It's in the section on the Win32 API.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform