Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RUN command never waits in Windows 98
Message
From
23/08/2001 21:32:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00548190
Message ID:
00548416
Views:
9
>Hi everybody,
>
>I use the command : ! MY_PROGRAM.EXE
>
>Where MY_PROGRAM.EXE is a self extracting file created with PKZIP (I tried also with WINZIP). When I am on a NT/2000 workstation, the program waits for MY_PROGRAM.EXE is finished before doing the next command, but in Windows 98, it doesn't wait...
>
>Any idea ???
>

Instead of RUN, use API_APPRUN, downloadable from the Files Section, to run the executable. It provides a LaunchAppAndWait() method to synchronously execute any program, DOS or Win, and does not permit VFP to continue until it finishes.
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