It would appear you want to use command line arguments in your application, to get the values passed for a win form application you can use;
For Each arg As String In Environment.GetCommandLineArgs()
Next arg
For a console application you can over ride the main method with;
Shared Sub Main(ByVal args As String())
For Each arg As String In args
Next arg
End Sub
Read
this article[
^] as well.