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
Jun 28, 2000

Variable Within Quotation

Question:
Can you put a variable within quotations? For example:

Shell "Explorer.exe (?var)"

Answer:
You have to concatenate the two strings together. If your variable is named var, you would call the Shell statement like this:

Shell "Explorer.exe " & var
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