Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Substitute For The RUN Command
Message
From
24/08/1999 17:47:08
 
 
To
24/08/1999 17:31:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00257339
Message ID:
00257354
Views:
14
>I am trying to run a Windows app (.exe) that I created in another language (dBFast) from within my vfp app. I am able to use the RUN command and it works; however, I get several screen flashes. I've tried /N2, it does prevent the screen flashing but the dBFast app needs to finish before my vfp app can resume.
>
>Are there any other ways to launch windows apps from a vfp app that provide more control.
>

Yopu migth want to look at my API_APPRUN class, whcih can be downloaded from here on UT. I've also got a FAQ entry that shows how to use the CreateProcess() API call to run another application; API_APPRUN is easier to work with in the long run and provides easier control without having to know the details of the API call.

You can also use things like the FFC ShellExecute class in VFP6; there are examples of how to use the ShellExecute() API for earlier version of VFP here on UT as well.
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