Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can a VFP EXE recognize numeric parameter?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00778831
Message ID:
00778843
Vues:
14
>>Without an option to alter an executable, is there a command line that will allow for numeric switches?
>>
>>C:\mydirectory\myVFP.exe 9
>>Starts the app, but the 9 is acted on as a character.
>>
>>Tanks in advance (sounds like a military statement).
>
>You can write wrapper EXE. Something like.
C:\mydirectory\myWrapperVFP.exe 9
>* myWrapperVFP.exe Main.prg
>PARAMETER tcPar1
>DO (JUSTPATH(sys(16,1) + "myVFP.exe") WITH  INT(VAL(tcPar1))
>
Excellent idea Sergey.
You never know unless you ask - no matter how dumb the question.
Edgar L. Bolton, B.S. B.B.A.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform