473,513 Members | 3,317 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adding controls to my toolbox

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!
Nov 15 '05 #1
4 3111

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

On 5 Oct 2003 17:13:38 -0700, jh***@stanford.edu (Justin) wrote:
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!


Nov 15 '05 #2

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

On 5 Oct 2003 17:13:38 -0700, jh***@stanford.edu (Justin) wrote:
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!


Nov 15 '05 #3
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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #4
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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
400
by: DesignedForDOTNET | last post by:
have developed a set of webcontrols and i'd like to create a package. I'd like to know how to add the controls to the VS.net toolbox at installation time. Suppose i create a Web setup project, i need to add the dll to the vs.net toolbox under a category name. so after installation when the user opens Vs.net the controls should show up in...
0
290
by: Justin | last post by:
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...
2
6787
by: Chien Lau | last post by:
I frequently define internal UserControl-derived classes in my WinForms apps: internal class MyUserControl:UserControl{ ... } I'll often need to embed these controls in a Form, whose class is contained in the same assembly as the control. As far as I know, the only way to do this using the designer is to add the UserControl-derived...
4
1516
by: Keith Smith | last post by:
I am reading this article... http://www.codeproject.com/cs/combobox/csautocomplete.asp About half-way down you will see a section titled "Using This Control" (written in orange lettering). Underneath that it says "Use this control in the same manner as you would a regular System.Windows.Forms.ComboBox. Add it to your form, via the...
3
3258
by: Helmut Wagensonner | last post by:
Hi, I have created a custom textBox within a C# project. I want to put that custom textBox on a form now. I heard about a way, to place that user control onto a form within the same project, without having to compile it seperately before. An example: 1. In Visual Studio create a new C# Windows Application
1
2385
by: Jedufa | last post by:
following of thread: "Adding namespaces to code behind automatically" Hello, I had quite the same problem and got further in the right direction with your suggestions, thanks. Nevertheless, I have a newer problem which seems to come from the fact that the assembly which contains my "SimpleComponentToolboxItem" must be already referenced
4
1796
by: Steve B. | last post by:
Hi As we ship some controls with one of our application that targets web designers, we want to add items in the toolbox of the two products. With VS 2005, it is quite easy, but what about this two products ? We was able to add our controls in the standards group, by modifying the standard.xml file located in Program Files\Office12\1033,...
8
19920
by: Jason | last post by:
Hello, I am trying to utilitze the AJAX Control toolkit in my asp.net project. I have added a reference to AjaxControlToolkit.dll, and in my page, added these lines of code: <ajaxToolkit:ToolkitScriptManager runat="Server" EnableScriptGlobalization="true" EnableScriptLocalization="true" ID="ScriptManager1" />
1
1722
by: Nariban Barkan | last post by:
Hi All, I have two custom usercontrols in my project but how can i use them on a windows form ? I can not see them on the toolbox and i can not drag and drop from Solution Explorer .. Thanks for your help,
0
7177
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...
0
7559
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...
1
7123
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...
0
7542
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...
0
5701
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4756
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
1611
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
0
470
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...

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.