Tuesday, July 14, 2009

If I'm writing a VB.NET command line app, how do I reference the command line parameters?

for example, if I type:





C:%26gt; myapp.exe -s -t





how do I reference the command line parameters ("-s" and "-t") so I can use them in my application?

If I'm writing a VB.NET command line app, how do I reference the command line parameters?
Re-declare Main like this:





static void Main(string[] args)





(that's C# syntax btw)


No comments:

Post a Comment