Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make ShellExecute wait for process to complete
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
00966017
Message ID:
00966019
Vues:
136
This message has been marked as the solution to the initial question of the thread.
The ShellExecute() doesn't wait for application it launches to complete but returns control immediately. You can use API_APPRUN in .VCX form File #9477 or WSH Run method Re: Pls Help .. Mr.Ed Rauh's FAQ ID: 7789 , api_apprun Message #888807

>
>I have this ShellExecute declaration and execution working well. But it seems that ShellExecute does not wait for the process to complete and then proceed with VFP code execution.
>
>Is there any way or another equivalant win-api that waits for the process to complete before it returns control to VFP?
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform