Hello Everyone-

I am having a problem passing in Command Line Arguments to my VB program.

My program does not seem to recognize any parameters that I pass into it when calling the EXE or when trying to test it passing the parameters in through the IDE.

I am using:
VB Code:
  1. If Command$ <> "" then
  2.      'Do stuff here
  3. end if
to determine if any arguments are being passed into my program. But no matter what I pass in as an argument the "Command$" variable always equals "". I have another program that accepts the exact same argument and I do not have any problems.

Has anybody else ever had this problem or have any advice on what is happening?

Thanks