Add this code to a module file and select 'Sub Main' as startup object in
the project properties:
\\\
Public Module Program
Public Function Main(ByVal Args() As String) As Integer
For Each Arg As String In Args
Console.WriteLine(Arg)
Next Arg
End Function
End Module
///
Starting an application and passing parameter to the started application: