473,465 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

User Control In Toolbox but NOT Component

I have a simple C# project (EXE) with one form, one user control, and one
non-visual component. My user control appears in the toolbox and I can drag
it onto the form, BUT the component does not. Why do user controls
automatically appear on the tool box, but components do not? I can add it to
the toolbox manual by selecting the executable, but that seems odd that I
have to do that since I do not for the user control. Also, when I do it that
way I have to pick either the release or debug version of my EXE, so I am
wondering what is the significance of that? Any comments are appreciated.

- Fred
Nov 17 '05 #1
1 1465
VS2005 will do this for you
(http://msdn2.microsoft.com/library/f...us,vs.80).aspx) however
currently (AFAIK), there is no built in, automatic way to do it. Conceivably
you could do so with some scripting.

Brendan

"Fred West" wrote:
I have a simple C# project (EXE) with one form, one user control, and one
non-visual component. My user control appears in the toolbox and I can drag
it onto the form, BUT the component does not. Why do user controls
automatically appear on the tool box, but components do not? I can add it to
the toolbox manual by selecting the executable, but that seems odd that I
have to do that since I do not for the user control. Also, when I do it that
way I have to pick either the release or debug version of my EXE, so I am
wondering what is the significance of that? Any comments are appreciated.

- Fred

Nov 17 '05 #2

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

Similar topics

3
by: Nick Moore | last post by:
This may be the wrong newsgroup for this question. I'm trying to develop a container control inherited from a panel that I can 'Roll Up' and 'Roll down' on a button click. The component is to be...
0
by: S K Moloye | last post by:
Hi All, I'm having a problem with the toolbox under Whidbey Beta 1. I cant see the tab Control Component in the toolbox. I have tried the "Choose Item" option but there the tab control is already...
5
by: john | last post by:
I searched http://www.sellsbrothers.com. and could not find anything about this subject. How do I make C# User Controls Visible to Visual Basic 6.0 Applications? Thanks, John
2
by: adbarnet | last post by:
Hi, I'm a C++ developer coming fresh to c# for GUI development. For the project I'm working on, I need a specialised control (a treeview derivative) which would be very useful in other...
2
by: Mehr H | last post by:
I have been working on this for several days and am still have had no success in achieving this. Pleae help. It seems that documentation for this is very limited. I have looked in several books and...
1
by: Mehr H | last post by:
I have been working on this for several days and am still have had no success in achieving this. Pleae help. It seems that documentation for this is very limited. I have looked in several books and...
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...
2
by: Mark Collard | last post by:
I've developed a C# Windows Control Library project (using Visual Studio 2003). It contains a public component class and a public control class. When I add a reference to the compiled project dll...
1
by: demenzia | last post by:
Hi, I need to use the WebBrowser control to print a webpage, but the control itself is missing from my Toolbox. I tried "Choose Toolbox" -> "COM component" and checking "Microsoft Web Browser",...
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:
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...
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,...
1
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...
0
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...
0
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,...
0
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...
0
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...
0
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 ...

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.