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:
00778845
Vues:
15
>>>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.

Thre're no dumb questions, only dumb answers. :)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform