By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,641 Members | 2,101 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,641 IT Pros & Developers. It's quick & easy.

How to pass command line arguments in VB

P: 1
hi,i want to know how to pass command line arguments in vb.
May 2 '07 #1
Share this Question
Share on Google+
2 Replies


100+
P: 149
hi,i want to know how to pass command line arguments in vb.
Command line arguments are passed into Visual Basic by way of the Command$ variable. This variable is a very long string with all the arguments written exactly as the user entered them.

-ansuman sahu
May 2 '07 #2

Expert 5K+
P: 8,434
hi,i want to know how to pass command line arguments in vb.
In programming, it's a good idea to be precise with your language. Do mean that you want to...
  1. Pass command-line arguments to VB itself? Perhaps to control the IDE, or compile a program automatically?
  2. Pass command-line arguments to your program which was written in VB?
  3. Pass command-line arguments from your VB-developed program to another program?
  4. If none of the above, then what?
Also, what version of VB are you referring to?

(Or, did you mean "parse" rather than "pass?)
May 2 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.