Starting with Visual Basic 4.0, you can add conditional compilation statements and use them to create different versions for 16-bit and 32-bit environments or to call debugging DLLs while testing
Sometimes it is useful to know if your program is running within Visual Basic’s Integrated Development Environment (IDE) or as a standalone EXE. This routine returns True if the program