473,734 Members | 2,211 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2624
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

"Zorpiedoma n" <no*********@be atles.com> wrote in message news:0B******** *************** ***********@mic rosoft.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
"Zorpiedoma n" <no*********@be atles.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.microso ft.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
11264
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 at the top of the list moving down towards the bottom. The problem I was having was that the <select> control was scrolling back to the top of the page after the postback and the user would lose their place in the <select> control forcing them to...
11
5000
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, making it visible or not. Yep you guessed it, expanding tree type functionality. The header has an onclick event onclick='Doexpandcollapse
0
1289
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 will be added to the page at runtime (through add or delete button clicks). I have created a class for the control(PersonPanel), and have created a collection class(PersonPanelCollection)to hold and store all the controls at runtime, but due to the...
1
1581
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; using System.Web.UI.Design; using System.Web.UI.Design.WebControls;
4
1141
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 to "Pop" the list without it being on a form, but a form can be accessed through ALT-TAB and Task Manager. and it creates problems. so can anybody tell me how i can create the list without a form or maybe make the form act correctly (not showing
5
5847
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 all the answers, so here it is.. I'm trying to create a custom listview that uses custom listviewitems. The listviewitems persist just fine in design mode. However, when I build the solution, the listview item doesn't show up. I've run some tests,...
12
7632
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 the control from the form and also the refrences to AxSHDocVw and SHDocVw, then I added the following statments Dim axwbOfficeDocEditor As New AxSHDocVw.AxWebBrowser Me.Controls.Add(axwbOfficeDocEditor) axwbOfficeDocEditor.Dock = DockStyle.Fill
5
3749
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 project. The original code for that control was written in VS 2003 for .NET 1.1. I created a Web Project and pulled the VB module into the project. I compared the syntax to the VB template classs that was built and it looked very similar. I then...
0
1970
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 the ini on the client's PC. After the program has ended the control looks in a client side temp folder (specified by the ini file) for an image created by the executed program. If the image is there, then the control moves the file to a public folder...
0
8946
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8776
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9449
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9310
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9236
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9182
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.