471,350 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Subclassed control in projected doesn't show up in toolbox

CJM
I'm currently working on an assembly that has both forms and controls
in it.

When I create a new control based on UserControl and compile, it shows
up in the toolbox for all forms in this assembly.

When I create a subclassed control (from label in this case), it does
not show up in the toolbox.

I understand you can add it through Add/Remove Items... but then I'm
adding a reference to itself and I get all kinds multiple declaration
errors. I also understand that you can remove the reference after
you're done designing and it all works. This, however, is a pain
because the reference gets added everytime you add the control to a
form. I could deal with this but this control needs to be distributed
within the company to 30 - 50 other developers.

How do I see subclassed controls in the toolbox for the current
assembly without adding a reference to itself?

Thanks,

Corey.

Jan 11 '06 #1
3 1267
CJM
/bump

Jan 17 '06 #2
CJM
Holy smokes.. anybody out there got some info on this bad boy? Or is
this the wrong group to be posting this question to...

Jan 26 '06 #3
CJM
"Hello... hello... hello
Is there anybody in there
Just nod if you can hear me
Is there anyone at home"

Updated issue: Even when you remove the reference, the assembly stays
in memory once the designer has been opened. I have to shut down VS and
open again to do a full compile.

Feb 17 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by MP | last post: by
1 post views Thread by Greg | last post: by
14 posts views Thread by Graham Blandford | last post: by
1 post views Thread by JTC^..^ | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.