Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API_APPRUN failing
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00203427
Message ID:
00204801
Views:
18
>We cannot run anything we've tested on this system. Bat files and DOS programs both react the same way. Like I mentioned, it is something that we've installed at many sites.
>Our use of the API is:
>odosproc.createobj('api_apprun','dosprog.exe param','default_directory','NOR')
>odosproc.launchandwait()

If you're using my class, it should be launchappandwait()

If I had to guess, there's either a problem with how the DOS path is set up, preventing you from finding an executable, or some parameter of the default command processor. I'd take a look at the DOS environment for starters.
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