Check If Your Application is Running in an IDE or as an Exe

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
The following function allows you to check if your application is running as an executable, or from the VB IDE.

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

Declarations:

Code: