Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing a dos command from VFP6
Message
 
 
À
25/01/2002 23:41:47
Christopher Pinnock
United General Insurance Company
Kingston, Jamaique
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00610938
Message ID:
00610975
Vues:
20
Ed's stuff does that. There's also an easy way with the scripting host:
lparameter pcProgram, pcArguments, pnShowWindow, plModal

local loShell, lnRetVal

loShell = createobject( "wscript.shell" )
lnRetVal = loShell.Run( pcProgram + " " + pcArguments, pnShowWindow, plModal )
return lnRetVal
>Found it tried it and it worked pretty fine. Thanks for that. Is it possible to have the program wait until the other app is completed before it continues.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform