In VB.NET 2005 (.NET Framework 2.0), also consider using My.Application.CommandLineArgs
For example:
Imports System.Console
Module Module1
Sub Main()
Dim argc As Integer
Dim argv As System.Collections.ObjectModel.ReadOnlyCollection(Of String)
argv = My.Application.CommandLineArgs
argc...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.