471,616 Members | 1,338 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

New Control Not showing up in Add/Remove Coponents List

Horay!

I have just put the finishing touches on a new User Control...

The" Jelly Button"

I created a setup program which runs fine. I see the .dll nicely in the GAC.

How come it does not show up in my Add/Remove componenets list when I try to
add it to the toolbar?
--
--Zorpie
Nov 21 '05 #1
3 2519
Hello Zorpie,

To make a user control visible in the Tool box you need to add this user control to the
toolbox to make it available to other projects and forms. To do that, open a windows form
or use an existing form. Right-click on the Windows Form tab section on the toolbox and click
on Customize Toolbox.
Clicking on Customize Toolbox opens "Customize Toolbox" dialogue box

On this window select the .NET Framework components tab which displays a list. Click browse
to add the dll of the user control we created and select the dll file from the bin directory of the
Windows Control library project. Once that is done, click OK. The dll of the user control gets
added to the .NET Framework Components. Select that and click OK. The user control which
we created gets added to the toolbox. Now this control can be used like other controls in the toolbox.
Alternatively, the user control can be added to the toolbox in another way. To do that, right-click on the
References item in the Solution Explorer window and select Add Reference which opens the Add Reference
dialogue box. Select the projects tab and double-click the User Control item. That adds item to the selected
components box at the bottom of the dialog. click OK to finish.

If the assembly doesn't show up in the Add/Remove components list, you can browse and locate it.
HTH

Mona

"Zorpiedoman" <no*********@beatles.com> wrote in message news:0B**********************************@microsof t.com...
Horay!

I have just put the finishing touches on a new User Control...

The" Jelly Button"

I created a setup program which runs fine. I see the .dll nicely in the GAC.

How come it does not show up in my Add/Remove componenets list when I try to
add it to the toolbar?


--
--Zorpie

Nov 21 '05 #2
"Zorpiedoman" <no*********@beatles.com> schrieb:
I have just put the finishing touches on a new User Control...

The" Jelly Button"

I created a setup program which runs fine. I see the .dll nicely in the
GAC.

How come it does not show up in my Add/Remove componenets list when I try
to
add it to the toolbar?


The article below will show you how to add an assembly that is installed
into the GAC to the "Add references" dialog. Maybe this will fix your
problem too:

How to display an assembly in the Add Reference dialog box
<URL:http://support.microsoft.com/?scid=kb;EN-US;306149>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
Excellent. This answers my question perfectly.

-Zorpy

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by headware | last post: by
11 posts views Thread by trinitypete | last post: by
reply views Thread by Tom | last post: by
1 post views Thread by I am Sam | last post: by
5 posts views Thread by ToddH | last post: by
12 posts views Thread by VJ | last post: by
5 posts views Thread by John Kotuby | last post: by
reply views Thread by leo001 | last post: by
1 post views Thread by ZEDKYRIE | 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.