Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command line parameters
Message
 
À
15/12/1997 11:55:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00065954
Message ID:
00065971
Vues:
31
>>How can I pass command line parameters from my VFP created .exe into my code for use ? example MyExe /A causes form to do one thing, and MyExe /B caused it to do something else.
>>
>>Thanks In Advance
>
>Add PARAMETER as first line of your first prg module, i.e. if you run 'Myexe.exe qwe' and first line is PARAMETER cString, then cString="qwe"

Works good !
Passing a 'D' without the slash works good to meet my needs. Passing '/D' produces a VFP500.dll is invalid or damaged message. I'm unsure why, but just won't do that.

Thanks Again
Glenn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform