473,378 Members | 1,571 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,378 software developers and data experts.

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 3100

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
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...
0
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...
2
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...
4
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). ...
3
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,...
1
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...
4
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...
8
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: ...
1
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.