473,388 Members | 932 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 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 2606
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: headware | last post by:
I have a <select> control that contains many entries. It allows the user to multi-select a group of them, click a button, and store the selected data in a database. Normally they do this starting...
11
by: trinitypete | last post by:
Hi all, I have a user control that uses control literal to build a heading with a link, and a div containing links below. As the link heading is hit, I want to change the style of the div,...
0
by: Tom | last post by:
I am developing a page that will contain multiple instances of a Composite Custom Control that i have developed. The problem is that the user will determine at run time how many of the control...
1
by: I am Sam | last post by:
using System; using System.Drawing; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.ComponentModel;...
4
by: guy | last post by:
i am trying to create a custom Combobox from scratch. this requires that i create the list that the combobox opens. i've used the ListBox control to do this. my problem is that i don't know how...
5
by: ToddH | last post by:
I know the following code is C#. I'm a vb programmer trying to learn a new language. I posted this in the c# group but never got a response. You guys seem to know alot about all languages and have...
12
by: VJ | last post by:
I am using the web browser control.., I would like to add the control at runtime... I was adding the web browser control at desgin time. Now I decided to add the control at run time so I removed...
5
by: John Kotuby | last post by:
Hi all, This is my first time trying to creaet and use a custome Web Control in a Web Site project in ASP.NET 2.0 with VS 2005 and VB. I created the control in a separate Web Control Library...
0
by: ChopStickr | last post by:
I have a custom control that is embedded (using the object tag) in an html document. The control takes a path to a local client ini file. Reads the file. Executes the program specified in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.