Re: Surprised to see UserControls Executing During Compilation!
- From: "Karl E. Peterson" <karl@xxxxxxxx>
- Date: Tue, 13 Jun 2006 13:44:22 -0700
Joseph Geretz wrote:
Were there any exposed properties in the test UC?
No, that might be a good point to investigate.
I'm still pondering whether to care. <g>
Yeah, me too ;-). It'd be on my own time...
On the main, this evidently works well since among all of us, only
one of us (me) has *ever* seen a compile time issue where this made a
difference. Even that wasn't in our own code - we purchased a third
party control with source code and then proceeded to to something
else non standard with it; that is wrap it inside a hosting user
control and then host the outer control on a form, all of which exist
in the same user control project (whew!) and then proceed to compile.
Yikes! Don't do much with contained controls; maybe that's why I never
stumbled on this. When I do contain something, more often than not it's
been CreateWindowEx'd.
Interestingly enough we did note at the time that when compiling
interactively, with the host form open in the IDE - no problem.
However when compiling in batch (our automated compiles are performed
in batch) the compile would fail.
Y'know, I bet you could tweak that RunMode routine of yours, to check the
IDE's caption to determine if it's compiling? Nah... sorry, just
checked... thought it changed.
Actually, I do care. I'm just pondering whether I care enough to do
anything about it ;-)
Been there. <g> Good luck!
--
Working without a .NET?
http://classicvb.org/
.
- References:
- Surprised to see UserControls Executing During Compilation!
- From: Joseph Geretz
- Re: Surprised to see UserControls Executing During Compilation!
- From: Karl E. Peterson
- Re: Surprised to see UserControls Executing During Compilation!
- From: Michael C
- Re: Surprised to see UserControls Executing During Compilation!
- From: Karl E. Peterson
- Re: Surprised to see UserControls Executing During Compilation!
- From: Joseph Geretz
- Re: Surprised to see UserControls Executing During Compilation!
- From: Karl E. Peterson
- Re: Surprised to see UserControls Executing During Compilation!
- From: Joseph Geretz
- Surprised to see UserControls Executing During Compilation!
- Prev by Date: Re: Surprised to see UserControls Executing During Compilation!
- Next by Date: Re: Surprised to see UserControls Executing During Compilation!
- Previous by thread: Re: Surprised to see UserControls Executing During Compilation!
- Next by thread: Re: Surprised to see UserControls Executing During Compilation!
- Index(es):
Relevant Pages
|