Solved

Passing Parameters to EXEs

Posted on 2001-06-30
4
575 Views
Last Modified: 2012-05-04
Is it possible in VB 6 to pass parameters to applications /exe at run time developed in VB6.
0
Comment
Question by:ShehzadMunir
4 Comments
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 10 total points
Comment Utility
You can call "YourApp.EXE Param1" and use the "Command" statement to retreive the passed values.
0
 
LVL 4

Expert Comment

by:amit_panjwani
Comment Utility
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
 
LVL 3

Expert Comment

by:andysalih
Comment Utility
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
 
LVL 1

Expert Comment

by:prefix
Comment Utility
"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

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now