New Control Not showing up in Add/Remove Coponents List

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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 said:
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>
 

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

Back
Top