Export (0) Print
Expand All
8 out of 30 rated this helpful - Rate this topic

How to: Access Command-Line Arguments (Visual Basic) 

The following code example loops over the application's command-line arguments.

Example

For Each argument As String In My.Application.CommandLineArgs
    ' Add code here to use the argument.
Next

See Also

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.