Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a paramter to an exe
Message
De
22/08/2002 11:11:44
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00692260
Message ID:
00692473
Vues:
23
Rick,

Take a look at System.Environment.GetCommandLineArgs.

Kim

>I'm looking for a way to pass a parameter to a VB.net exe from the windows run command.
>
>Using VFP, I could create an exe which could be executed from the run command as follows: c:\testexe.exe "1"
>
>the "1" string would be passed to the executable through a parameter statement in the startup .prg file
>
>I have created a VB.net windows exe which uses the VB form as the startup file. Is there a way to pass a parameter to the form at application startup?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform