Debugging Command Line Arguments

Is there a means of testing command line arguments within the studio environment(VB specifically)?
Who is Participating?
iboutchkineConnect With a Mentor Commented:
In VB.NET you can enter command line argument for debugging in the following place:
Right click Project properties - Configuration properties - Debugging - Command line argument

To check you argument

         Dim args() As String
        args = Split(CommandLine, """") 'split by quotation mark
'CommandLine gives you the path of the exe in quotes and then the param

'to extract the param

don't forget to include Environment namespace

Imports System.Environment
Check the project properties (Right click on project and bring it up)
C# projects have an option for setting command line arguments. I am assuming VB.Net should also have something similar.
All Courses

From novice to tech pro — start learning today.