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

How to add MyComponent into a VS Toolbox?

Hi Group,

I've single project and i have a component class
e.g. MyComponent in it.

I want to put my project's component in any form or control
in my project from designer.

Is this possible to do this in VS .NET 2002 (or 2003) ?

I know that "my project's controls" are placed in
"Windows Forms" tab.

Regards

Marcin
Nov 15 '05 #1
5 11451
You can drag-and-drop your assembly (dll) from Windows Explorer to the
toolbox in VS.NET. Or you can right click on the toolbox in VS.NET and
choose Add/Remove items. Is this what you are looking for?

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
<Marcin Grze>; "bski" <mg*******@taxussi.no.com.spam.pl> wrote in message
news:bu**********@nemesis.news.tpi.pl...
Hi Group,

I've single project and i have a component class
e.g. MyComponent in it.

I want to put my project's component in any form or control
in my project from designer.

Is this possible to do this in VS .NET 2002 (or 2003) ?

I know that "my project's controls" are placed in
"Windows Forms" tab.

Regards

Marcin

Nov 15 '05 #2
Right click on the toolbox->Add/Remove Items, then locate your control and
check the checkbox once it is added.

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
For a laugh, try web browsing with Opera's User Mode and Nostalgia enabled
Nov 15 '05 #3
Hi Jan,

I don't want to put an assembly on my toolbox...
I've designed one component in my project,
and i want to use it in a control in the same project.
I can do it with any designed control but i can not with
any designed component.

Marcin
You can drag-and-drop your assembly (dll) from Windows Explorer to the
toolbox in VS.NET. Or you can right click on the toolbox in VS.NET and
choose Add/Remove items. Is this what you are looking for?

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
<Marcin Grze>; "bski" <mg*******@taxussi.no.com.spam.pl> wrote in message
news:bu**********@nemesis.news.tpi.pl...
Hi Group,

I've single project and i have a component class
e.g. MyComponent in it.

I want to put my project's component in any form or control
in my project from designer.

Is this possible to do this in VS .NET 2002 (or 2003) ?

I know that "my project's controls" are placed in
"Windows Forms" tab.


Nov 15 '05 #4
Hi,

What is version of your VS?
In VS 2002 "Add/Remove Item" does not exist :-(

Marcin
Right click on the toolbox->Add/Remove Items, then locate your control
and check the checkbox once it is added.

Nov 15 '05 #5

First select "Customize toolbox," then "Add." Click on Browse button from
..NET tab and find your class library dll

=?ISO-8859-2?Q?Marcin_Grz=EAbski?= wrote...
Hi,

What is version of your VS?
In VS 2002 "Add/Remove Item" does not exist :-(

Marcin
Right click on the toolbox->Add/Remove Items, then locate your control
and check the checkbox once it is added.

Nov 15 '05 #6

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

Similar topics

3
by: Adam Nowotny | last post by:
I've created library with some "user controls" and they all showed up in the toolbox, so it is easy to drag them to a form in Forms Designer. Now we want to use the controls in our main project...
4
by: Rudolf Ball | last post by:
Hi NG, how can I programmatically add items to the toolbox? Any links? Thank you Rudi
4
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...
3
by: Kevin Mellor | last post by:
Hello all, I hope someone can help me. I am not new to developing but am new to C# (assemblies etc) and V Studio 2003, although familiar with terminology from VS6. I am in the nightmare...
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...
10
by: Nak | last post by:
Hi there, I'm having problems with the Toolbox in VB.NET 2002 Standard. I have 2 class libraries, 1 contains licensing classes and references nothing but standard namespaces and the other...
1
by: Siv | last post by:
Hi, All of a sudden half of my VS.NET 2005 toolbox icons have got what looks like a chart icon instead of their usual one. What gives and why does it happen?? More importantly, how do I get...
7
by: gtrDayve | last post by:
Recently I ran all my Windows Updates which included many for Visual Studio 2005, & now when I open VS05 (using ASP.NET, VB.NET), all my toolbox options are grayed out except for the Data options;...
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: 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: 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
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
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: 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
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.