Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute() does not complete b/4 message after is di
Message
 
 
À
14/01/2004 02:31:59
Sammy Derban
Ghana Telecom
Accra, Ghana
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00866605
Message ID:
00866673
Vues:
24
>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform