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

User Controls in Toolbox

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 which is located on another
computer. The problem is they don't show up in the toolbox.
What's wrong ?

--
Adam
Jul 21 '05 #1
3 1869
Adam,

VS.NET maintains the toolbox setup on a per-machine (possibly per-user, I
don't know) basis. Therefore you will have to add your controls to the
VS.NET toolbox on the other PC.

Kent

"Adam Nowotny" <ad**@SPAM.logosoft.pl> wrote in message
news:40******@news.home.net.pl...
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 which is located on another computer. The problem is they don't show up in the toolbox.
What's wrong ?

--
Adam

Jul 21 '05 #2
OK, i see VS adds user controls to the toolbox when opening them in design mode.
But it doesn't add inherited controls. I've created some of them as user
controls as:

Public Class Button
Inherits System.Windows.Forms.UserControl

(at this point VS added this to toolbox on my computer) and then changed
MANUALLY (is there any other way to inherit from built-in controls?) to:

Public Class Button
Inherits System.Windows.Forms.Button

Now such controls don't show up on the other computer :/
How to solve this ?

--
Adam Nowotny
Kent Boogaart wrote:
Adam,

VS.NET maintains the toolbox setup on a per-machine (possibly per-user, I
don't know) basis. Therefore you will have to add your controls to the
VS.NET toolbox on the other PC.

Kent

"Adam Nowotny" <ad**@SPAM.logosoft.pl> wrote in message
news:40******@news.home.net.pl...
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 which is located on


another
computer. The problem is they don't show up in the toolbox.
What's wrong ?

--
Adam


Jul 21 '05 #3
Adam,

As I said, you will have to add the controls to the toolbox manually on the
other machine. Why is this a problem?

Kent

"Adam Nowotny" <ad**@SPAM.logosoft.pl> wrote in message
news:40********@news.home.net.pl...
OK, i see VS adds user controls to the toolbox when opening them in design mode. But it doesn't add inherited controls. I've created some of them as user
controls as:

Public Class Button
Inherits System.Windows.Forms.UserControl

(at this point VS added this to toolbox on my computer) and then changed
MANUALLY (is there any other way to inherit from built-in controls?) to:

Public Class Button
Inherits System.Windows.Forms.Button

Now such controls don't show up on the other computer :/
How to solve this ?

--
Adam Nowotny
Kent Boogaart wrote:
Adam,

VS.NET maintains the toolbox setup on a per-machine (possibly per-user, I don't know) basis. Therefore you will have to add your controls to the
VS.NET toolbox on the other PC.

Kent

"Adam Nowotny" <ad**@SPAM.logosoft.pl> wrote in message
news:40******@news.home.net.pl...
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 which is located on


another
computer. The problem is they don't show up in the toolbox.
What's wrong ?

--
Adam


Jul 21 '05 #4

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

Similar topics

5
by: Henke | last post by:
I added a project to my solution that contains a user control. Now I 'd like to add the user control from that project to a form in my solution. The problem is that the control doesn't gets added...
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...
4
by: Paradox | last post by:
Hey, I'm trying to figure out what situations call for the use of a derived form control such as: public class myListBox : System.Windows.Forms.ListBox and what situations call for the use...
7
by: Mr Newbie | last post by:
Hi There, Here I am messing about with User Controls and I seem to have a conundrum on my hands which I'm sure you chaps will unravel for me in the blink of an eye.
3
by: ABC | last post by:
I created a web user controls on the same project. When I recompiled, I cannot found my web user controls on toolbox. What happen?
0
by: Philippe Meunier | last post by:
Hi, I am building a solution in VB.NET, and one of the project in the solution contains my user controls (and inherited controls), Everything is ok when I just came to add the user control and...
1
by: Philippe Meunier | last post by:
Ok, I already asked a question similar to this one but didn't found any answer ! I've a solution with 2 projects in it. One of the project contains Usercontrols and Inherited Controls. I work...
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...
1
by: randy1200 | last post by:
In Visual Studio 2003, I could create a new user control such as panel1. The name panel1 would appear in the toolbox under "My User Controls." I could drag this panel1 from the toolbox onto...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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,...

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.