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

Bad UserControl in Toolbox (VS 2003)

I have solution (mySolution) with 2 projects (myDLL and myEXE).
The DLL contains a control (myControl) inheriting from
Windows.Forms.UserControl. The output DLL is created in the dircetory
MySolution\myDLL\bin\debug (the default proposed by VS).

I added myControl to the toolbox, using "browse" and selecting "myDLL.dll".

This is now causing lot of problems. When I open VS, myDLL is locked, and
the compiler cannot overwrite it anymore, even if I do a rebuild.
If I close VS and delete it manually, when I reopen VS the project will
compile and run, but if I open with Designer any Form containing myControl,
then myControl will disappear form these forms and the DLL will be locked.

I cannot remove the control from the tollbox anymore, as the "Delete"
context menu item is disabled. I cannot even Delete the all Tab.

If I open the customize toolbox dialog box, the specified control does not
even appear in the list.

Anybody knows what is going on? Or at least how can I manually remove this
control from the toolbox?

Thanks,
Fabio
Dec 28 '05 #1
0 940

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

Similar topics

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: Barney | last post by:
I created a usercontrol for my winForm (its a grid that will be used on multiple forms), now how can i add the usercontrol to the form(s)? thx
4
by: steve bull | last post by:
I have created a UserControl and added it to my toolbox. It appears in the toolbox with the icon I created for it. The problem is that when I drag the control onto a form no code is generated. If I...
11
by: Crirus | last post by:
I need to derive the Windows.Forms.Control 2 times so I design a class like this Public Class BMControl Inherits System.Windows.Forms.UserControl Public Class MapControl Inherits BMControl
2
by: Noozer | last post by:
This is a stupid question, I know, but I can't figure it out... Someone please embarass me. I have a solution that has a number of usercontrols included. When I add a usercontrol project to...
41
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based...
0
by: PickwickBob3 | last post by:
I am having a problem with an error -- Path can not be null :Parameter name: path when I try to drag a usercontrol on to a form. The control use to work fine. I have built the control and loaded...
3
by: b747_440 | last post by:
Dear Newsgroup, I'm an old VB6.0 developper who switched some time ago to VB.NET 2005. I really like that new Visual Studio. However, something is going wrong now and I can't figure out, what it...
0
by: =?Utf-8?B?TWFyayBDb2xsYXJk?= | last post by:
I've developed VS 2003 usercontrol and I've also created a Setup project for it. I did a search on the internet and found some code to create a .NET 1.1 application to add the usercontrol into a...
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
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,...
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
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.