calling visual baic from cmd line with p - TechRepublic
General discussion
April 23, 2001 at 05:26 AM
jimdugmorecom

calling visual baic from cmd line with p

by jimdugmorecom . Updated 25 years, 2 months ago

I write a VB app that is called from another program. The program will pass along some parameters that I need to use in the VB app. I would compare it to how a DOS batch file would use %1, %2 etc…

How is this acomplished in VB? How do I reference the command line parameters within the VB app?

For example if I were to call
myapp.exe 12345 RGB
How can I access the 2 parameters 12345 and RGB within VB.

This discussion is locked

All Comments