From help file for Sub Main
Function Main(ByVal CmdArgs() As String) As Integer
Dim ArgNum As Integer ' Index of individual command-line argument.
If CmdArgs.Length > 0 Then ' See if there are any arguments.
For ArgNum = 0 To UBound(CmdArgs)
' Examine CmdArgs(ArgNum) for settings you need to handle.
Next ArgNum
End If
MsgBox("Hello World!") ' Display message on computer screen.
Return 0 ' Zero usually means successful completion.
End Function
<pe***@mclinn.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
When you run a program like ip config from the command line you are
given the option to use switches like /all /renew ....
In vb.net how do you create a shellable application with switch options
like this?
Peter