>Hi. I pass a parameter with my .exe. Once inside the vb6 code, I address it as "command"., How can I view 'command' at select points in the execution of my code?
>
>Thanks, Randy
Eric has shown how to get the command line args but it looks as if you are already that far. Something like this ?:
Class Program
Public Shared command As String
Private Shared Sub Main(args As String())
command = args(0)
End Sub
End Class
Public Class SomeOtherClass
Private theCommandWas As String = Program.command
End Class