Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running command line external programs
Message
 
 
À
22/01/2009 18:11:02
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:
01376429
Vues:
13
>For a temporary solution, I created a program.cmd file and used RUN to kick it off. Some time next week, I will set up the shellexecute.

It's not very complicated
DECLARE INTEGER ShellExecute IN shell32; 
    INTEGER hwnd, STRING  lpOperation,STRING  lpFile, ; 
    STRING  lpParameters, STRING  lpDirectory, INTEGER nShowCmd
lcProgram = "C:\Windows\Notepad.exe"
lcParameters = "C:\Windows\System32\Autoexec.nt"
= ShellExecute(0, "", lcProgram, lcParameters, "", 1)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform