
Determine if in Design Mode
Actually, I'm interested in a way to do this as well. For the time being
I'm using conditional compilation, but this way I always have to remember
to remove the flag that executes the special code before building for
distibution. I've also seen a sample somewhere that tries to find the VB
main window, but the disavantage of this is that the code for finding it
always executes. Hope any of these tricks will help you.
Miguel Santos
____________________________________________________________
Quote:
> How do I determine if my app is running in Design Mode under VB4? I have
> code that I only want to run when the app is running from within VB4 not
> after the app has been compiled into an EXE.
> Thanks
> --
> ----------
> James
> Modern Business Solutions