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:
00778833
Vues:
16
This message has been marked as the solution to the initial question of the thread.
>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))
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform