Does anyone know how to find-out in code if the programm is running in the VB IDE or in compiled mode (EXE or DLL)?
Printable View
Does anyone know how to find-out in code if the programm is running in the VB IDE or in compiled mode (EXE or DLL)?
Well if you are testing a object you need to use a normal standard exe to test it or it will not do what you want it to do.
Then you can use msg boxes to show you that it is working and what it is doing.
1 - Tek - that made no sense what so ever. All he wants to know is if the code that's running in compiled or running in the IDE.
2 - Lightning - Not directly. The only way that I am aware of is to decalare some kind of constant at the top of your app. But you would then have to remember to flip it accordingly.
crptcblade you gave the answer. Thx