Is it possible to pass a parameter to a VB 6.0 program. For instance i want my program to react when a file name has been passed to it. I know you can change the start up form to Sub Main() but it does not allow you to place a variable inside E.X. Sub Main(Dim CFileName as String). I know you can do this in C++ when you creat a document program but i cant find a way to do it in VB.