
Am I in the IDE?
Question: Is there a simple test that can determine whether a VB program is running in the IDE or as a compiled exe? Answer: Yes there is a very simple test. Name the exe differently from the project, and then check App.ExeName. If the app is running in the IDE,