Link to home
Start Free TrialLog in
Avatar of ShehzadMunir
ShehzadMunir

asked on

Passing Parameters to EXEs

Is it possible in VB 6 to pass parameters to applications /exe at run time developed in VB6.
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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

Avatar of andysalih
andysalih

or you could user

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

that will run an exe file with the parameters.

cheers
Andy
"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.