Custom User Controls do not show up in toolbox (VS2005 pro)

S

Shea Martin

In my C# winform project (MyProject), I added a new 'User Control' item.
I can't (visually) add it to any forms because it does not show up in
my Toolbox.

If I open the project using Visual C# Express, the top grouping in my
tool box is 'MyProject', and my custom control appears in there. I can
drag it onto my form, no problem. With VS 2005 pro, I do not have the
'MyProject' grouping in my Toolbox.

Has anyone else experienced this problem? Is there a solution? I need
many of the features in VS pro, not found in Express, so continuing to
use Express would be a pain.

Thanks,

~S
 
R

R3al1ty

I have the same issue. Its fine in one of my smaller solutions but on a
very huge solution, my user controls dont show up automatically. I keep
having to Add Items.. to the ToolBox.
 
S

Shea Martin

R3al1ty said:
I have the same issue. Its fine in one of my smaller solutions but on a
very huge solution, my user controls dont show up automatically. I keep
having to Add Items.. to the ToolBox.

I don't even have the 'MyProject' section in the tool box. How do you
Add Items...? I have Choose Items in a context menu, but it doesn't
even list my control.

~S
 
R

R3al1ty

yeah ChooseItems..., that will pop up a dialog box and then you can
selet the DLL that contains your user controls
 
S

Shea Martin

R3al1ty said:
yeah ChooseItems..., that will pop up a dialog box and then you can
selet the DLL that contains your user controls

Yeah, ok that works. It does not create a separate group like express
does, but livable.

Funny that Express work fine... Mind you, I have noticed a lot of
flakiness in VS2005 Pro that does not exist in Express. For example
controls disappearing when I run the project; closing designer window,
and reopening will make them reappear. The columnspan value is reset to
1 every time I run the project. And many more. None of those issues
occur in VCS Express.

Hopefully SP1 will fix it. I was hoping that there might be some
hotfixes release though?

~S
 
R

R3al1ty

You can add additional groups/tabs to the toolbox. Right click on the
toolbox and AddTab :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top