Adding controls to my toolbox

J

Justin

I am having trouble adding some of my existing controls to my toolbox
in VS.NET. Here's what is going on:

1). I have an existing project that is a Windows Control Library with
a bunch of controls.

2). I start a new solution and create an Application
3). I add the existing project with my controls to the solution, then
create the reference.

4). I cannot get my tools that are in the project I added. I cannot
see them in the Form Designer toolbox, but I am able to declare them
in the code.

5). If I add a new control to the control library project, only the
one I added inside this solution appears in the toolbox.

How do I get all my controls to show up in the toolbox? I don't want
to add the compiled DLL because I still might make changes to the
control library.

Thanks!
 
A

Allen Anderson

In vs.net go to menu Tools -> Add/Remove Toolbox Items

then choose browse when that dialog comes up. Find the dll for your
control and double click on it. That will add and check the control
as active in your toolbox.

-Allen
http://www.glacialcomponents.com
 
J

Justin Tan

Hey thanks, that's like Customize Toolbox right? I didn't want to add
the dll because I want to continue working on the Controls Libraries
project while I'm working on the app.

If I add a new control to the control library it appears in the toolbox
automatically. I want the rest of the controls to appear like that in
the toolbox (they have the usercontrol icon, not the COM/gear looking
icon).

-justin
 

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