Determine if the app is running in the IDE

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Beginning
Author:
Brian Gillham

Version Compatibility:

More information:
Often a developer needs to know if the app is running from the IDE. Here is a VERY simple way of determining that. Because Debug statements are not compiled into the EXE use the following code:

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: