In C#/VB in Visual Studio 2010, is there way in the code to determine whether the program is currently running in the IDE or not?
C#/VB
Visual Studio 2010
eg. If ProgramRunningInIDE Then MessageBox.Show exc.Message