Tuesday, September 4, 2007

Getting Command-Line arguments in a VB.NET Console Application

It is pretty simple to get a string of the command-line arguments in VB.NET:

Dim cl As String = Command()

It is still up to you to parse the string into something usable. Here is a link that show one approach:


http://www.averagecoder.com/article_detail.asp?query=passing_arguments_to_your_vb_net_console_application

No comments: