Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to run external program within VFP program?
Message
De
05/01/2001 04:32:54
 
 
À
05/01/2001 01:53:59
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00459680
Message ID:
00459694
Vues:
22
>>>>>>>>>>>>>
However, The program switch to next line, before the first line run completed.
How can I program to do that the wait window preform after the run command completely done.
>>>>>>>>>>>>>

You can use WSH:
#define SW_SHOW_NORMAL 1
#define SW_SHOW_MINIMIZED 2
#define SW_SHOW_MAXIMIZED 1
oShell = createobject("WScript.Shell")
oShell.Run("winrar a -o+ bb.rar",SW_SHOW_NORMAL,.T.)


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform