Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running a secondary VFP background application
Message
From
20/08/2001 20:59:41
 
 
To
20/08/2001 13:06:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00546282
Message ID:
00546542
Views:
10
>>I have a small secondary VFP application, (performs basic housekeeping), I want to run from a primary application with control immediately returning to the primary application after launching the secondary VFP application.
>>
>>The secondary application simply shuts down on completion.
>>
>>What's the best approach please?
>>
>>Dennis
>
>Dennis,
>Use ShellExecute. That way each app you launch would run independetly as if they're launched separately.

Actually, < shameless self-promotion > I'd recommend using API_APPRUN to do this < /shameless self-promotion >; it returns an hProcess which will allow you to modify the priority of execution and allows you to check on the completion state of the launched application. API_APPRUN can be downloaded from the Files Section.
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
Next
Reply
Map
View

Click here to load this message in the networking platform