How do I accept a parameter in a VB 6 program from another VB 6 program? In the first program I am calling the other program with a line similar to this:
sCommand = App.Path & "\pgmname.exe " & passedparm
RunCmd sCommand
The question is, how do I bring passedparm into the second program (pgmname.exe)?
sCommand = App.Path & "\pgmname.exe " & passedparm
RunCmd sCommand
The question is, how do I bring passedparm into the second program (pgmname.exe)?