Let me start by saying that I'm not a programmer but have inherited this since the actual VB guru left the company.
Basically I have a VB6 that needs to call a little command line program and pass some parameters to it. I can get the command line program to launch using the Shell command non problem. And if I code in the parameters those will work.
Can I use a variable in the VB program as a command line parameter in some way? Every attempt I have made using the variables hasn't worked, the VB program sees the variable literaly as the parameter rather than using what ever value the variable has at that time.
If this doesn't make sense or you need more info I am happy to post back (probably tomorrow however, long day already and I need sleep).
Thanks!!
Basically I have a VB6 that needs to call a little command line program and pass some parameters to it. I can get the command line program to launch using the Shell command non problem. And if I code in the parameters those will work.
Can I use a variable in the VB program as a command line parameter in some way? Every attempt I have made using the variables hasn't worked, the VB program sees the variable literaly as the parameter rather than using what ever value the variable has at that time.
If this doesn't make sense or you need more info I am happy to post back (probably tomorrow however, long day already and I need sleep).
Thanks!!