Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters for a EXE in VB5
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00055843
Message ID:
00056251
Vues:
32
>Ok, I want to call a EXE created in VB with parameters.
>
>Ex: Robot.exe task1.txt
>
>In C++, I need to declare the parameters in my code to do this.
>
>How do I do this in VB. Is there a command for that?
>
>If you know! Please reply to this message.

Use the 'COMMAND' function (variable?) to get the command line arg.

IF COMMAND = 'SomeCommand' Then ...

:0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform