Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute() does not complete b/4 message after is di
Message
 
 
To
14/01/2004 02:31:59
Sammy Derban
Ghana Telecom
Accra, Ghana
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00866605
Message ID:
00866673
Views:
25
>Helo All,
>
>I am using ShellExecute() to Zip to disk (Dos command).
>However the message I have put after the ShellExecute() to inform the user when the process is completed is displayed even before the Zipping starts.
>How do i get around this embarassing Problem. I Use VFP 6.0

The ShellExecute() doesn't wait for application it launches to complete but returns control to VFP immediately. You can use API_APPRUN in .VCX form File #9477 to launch Zip program and wait for it completition. Or you can use WSH Run() method to do the same.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform