Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a exe from within VFP with parameters
Message
De
17/02/2017 05:11:38
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01648061
Message ID:
01648064
Vues:
63
Aside from Gregorys solution see late Ed Rau's API_AppRun Download#9477.

I use it and it works very well.


>I need to call an exe from within VFP program and send the exe an argument and the receives a value back and depeding on the value I want to continue execution of the program.
>
>I am currently doing this
>
> lcApp = ALLTRIM(fold_loc) + ALLTRIM(exe_name)
> lcParam = ALLTRIM(exe_param)
> shellExecute (0,"", lcApp, lcParam,"",1)
>
>However I cant receive the argument returned from the called application. Also shellexecute will not wait until the value is returned.
>
>Is this possible in VFP?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform