Running VB.net applications at command line

  • Thread starter Thread starter Atley
  • Start date Start date
A

Atley

I want to pass parameters to my app in VB.net, but cannot find anything in
the help that would allow me to pas switches to my app and then read the
switches in code so i can affect results, I know that you must be able to do
this, but I can find nothing on it. Any ideas, suggestions?

Thanks
 
Atley said:
I want to pass parameters to my app in VB.net, but cannot find
anything in the help that would allow me to pas switches to my app
and then read the switches in code so i can affect results, I know
that you must be able to do this, but I can find nothing on it. Any
ideas, suggestions?

- Microsoft.VisualBasic.Interaction.Command

- System.Environment.GetCommandLineArgs

- Sub Main(Byval Args() As String)


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Back
Top