B
Brett
In VB, a UserControl could determine its run-time vs. design-time status by
evaluating the UserControl.Ambient.UserMode. For the life of me I can't
figure out how to do the same basic thing in VB.NET.
I have a UserControl in which I need to perform certain functions in the
Load event during run-time, but those same functions are not possible in
design time because other resources (i.e. database, registry, etc.) haven't
been initialized. I just want to skip that part if I'm in design-time. Am
I missing something obvious?
Thanks in advance,
Brett
evaluating the UserControl.Ambient.UserMode. For the life of me I can't
figure out how to do the same basic thing in VB.NET.
I have a UserControl in which I need to perform certain functions in the
Load event during run-time, but those same functions are not possible in
design time because other resources (i.e. database, registry, etc.) haven't
been initialized. I just want to skip that part if I'm in design-time. Am
I missing something obvious?
Thanks in advance,
Brett