Does anyone know how to tell if a program is being run through the design environment or if it is an .exe file which has been compiled and run seperatly?

Cheers

Chris