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, then it returns the name of the project. If the exe is running, then it returns the name of the exe.
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.
























