Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a VFP.EXE using ShellExecute
Message
De
15/11/2004 12:04:57
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00961234
Message ID:
00961413
Vues:
8
Sergey--


>You pass them as 4th parameter of ShellExecute(). See also How to pass parameters to VFP EXE FAQ #17861. For example,
cParams = ["A B C" 2]
>? ShellExecute(0, "", "H:\temp\test.exe", cParams,"",1)
will pass two parameters into EXE. The first one, string "A B C" and the second one, string "2".


Worked like a champ. Thanks.

Tim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform