Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running command line external programs
Message
 
 
À
22/01/2009 17:45:27
Scott Sherman
Puyallup Tribal Health Authority
Tacoma, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01376420
Message ID:
01376424
Vues:
17
>What is the best way to run a command line program from FoxPro?
>
>I need to run a command line like the following with parameters. It runs fine from Windows Run but I need FoxPro to do it for me.
>
>"c:\program files\program\program.exe" /script=c:\tmp\script.txt

There're many ways to run external program from VFP. Which one to chose depends on your requirements:

- VFP RUN command
- SHELLEXECUTE() Windows API function
- WSH Run method
- API_APPRUN in .VCX form
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform