Passing Parameters to EXEs

Is it possible in VB 6 to pass parameters to applications /exe at run time developed in VB6.
ShehzadMunirAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
You can call "YourApp.EXE Param1" and use the "Command" statement to retreive the passed values.
0
 
amit_panjwaniCommented:
Only solution related to this , I know of is passing command line parameters using dos


Such as executing exe on command prompt say

MyExe - Myswitch etc

lemme know if you want to know more

Amit

0
 
andysalihCommented:
or you could user

shell "c:\command.com/c program.exe /param",vbhide

that will run an exe file with the parameters.

cheers
Andy
0
 
prefixCommented:
"at run time developed in VB6. "

open the project menu then select properties item, choose the "make" table, put your arguments in the command line arguments. press ok.
That's all.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.