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
Jan 4, 2000

Am I in the IDE?

Question:
Is there a simple test that can determine whether a VB program is running in the IDE or as a compiled exe?

Answer:
Yes there is a very simple test. Name the exe differently from the project, and then check App.ExeName. If the app is running in the IDE, then it returns the name of the project. If the exe is running, then it returns the name of the exe.

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