Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Passing command line parameters to VB6 IDE in console app

Tags:

vb6

I have a VB6 console app and it uses command line parameters. For debugging, I would like to be able to start it from the IDE and ideally be able to pass it those parameters to see how it normally operates. I realize I could set a breakpoint at the appropraite place and use the Immediate window to set the values outside the command line, and I have used a couple of other workarounds in the past, but is there a way to do this as if I had actually started it as a console app?

like image 322
Cyberherbalist Avatar asked Aug 12 '09 18:08

Cyberherbalist


1 Answers

Select Project | Properties, select the Make tab, enter the command line params in the Command Line Arguments text box. These will only apply when run in the IDE.

like image 162
Jack Straw Avatar answered Nov 07 '22 17:11

Jack Straw