Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

Interpreting Command-Line Arguments

Question:
How can I interpret the command line arguments for a .EXE created with VB ?

Answer:
The Command$ variable contains the arguments that were on the command line when a VB application is started. Based on your application, you just need to use the string manipulation functions, such as Left$, Right$, and Mid$, to parse that string.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date