Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to wait for completion of shellexec ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00739175
Message ID:
00744207
Vues:
24
In addition (correction: Shell object, not VBScript... misspelled).
Try the following code:

sll = CreateObject("WScript.Shell")
lcCmd = '"C:\program files\Microsoft Office\Office10\excel.exe"'
cmdReturn = sll.Run(lcCmd, 1, .T.)

VFP window is available, but user input is locked.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform