Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Base Form Class
Message
From
09/08/2007 15:37:52
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
09/08/2007 15:34:06
General information
Forum:
ASP.NET
Category:
Class design
Environment versions
Environment:
VB 8.0
Miscellaneous
Thread ID:
01246867
Message ID:
01247164
Views:
34
>Yeah. You need to use the DesignMode here. It won't be incorrectly false as it is in the constructor.

I like your answer more than you know.

I tried using DesignMode in the constructor and had problems with it. I found an alternative solution that tested System.Diagnostics.Process.GetCurrentProcess().ProcessName for "devenv". It worked, but I didn't like it. I will try to go back to DesignMode.

*fist pump*
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform