471,348 Members | 1,336 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 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?

Dec 28 '05 #1
0 887

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Chien Lau | last post: by
4 posts views Thread by Barney | last post: by
4 posts views Thread by steve bull | last post: by
reply views Thread by PickwickBob3 | last post: by
reply views Thread by =?Utf-8?B?TWFyayBDb2xsYXJk?= | last post: by
1 post views Thread by Ronak mishra | last post: by

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.