Let said you wish your VB program to accept an command line "/%1 /config"

then all you need is put this under the Sub Main() or Form_Load() procedure.

Code:
Option Explicit
Private MyCmdLine As String

Public Sub Main()
   MyCmdLine = Command()
   If MyCmdLine = "/%1 /config" then
      'Do whatever you've plan.
   Else
      'Do whatever you don't want your program do.
   End If
End Sub
Or....

Private Sub Form_Load()
MyCmdLine = Command()
   If MyCmdLine = "/%1 /config" then
      'Do whatever you've plan.
   Else
      'Do whatever you don't want your program do.
   End If
End Sub