This topic has not yet been rated Rate this topic

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

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


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


Did you find this helpful?
(2000 characters remaining)
Community Content Add
Annotations FAQ
Advertisement