Last post May 21, 2008 01:52 AM by Nai-Dong Jin - MSFT
May 18, 2008 08:10 PM|dilip12|LINK
I created a user control in "project a" which has a set of textbox and radio buttons.
My plan is to use the above created user conrol as a custom conrol in my "project b "
a) i buid my "project a" and got a .dll
b) now i want to add it to my toolbox so that i can use this in various locations of my "project b"
c) So i used this way to add my dll into "project b" from "project a"
Go to the .NET toolbox > Create a new tab > Name it > Click "Choose Items" > Click Browse button and locate your dll and add it ..
I got an Errorrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr when doing so.
When i am trying to add i got an message which is not clear - > There are no components in c:/XX/XX/XX.dll that can be placed on the toolbox.
Could you please let me know what exactly this mean?
Thanks in advance
So i thought of to create a user control and build a dll from this project.
Now with the above created dll i am planning to use like a drag and drop from the toolbox.
Hope you got me. if not please let me know.
May 18, 2008 09:34 PM|vcsjones|LINK
There may be two reasons; you need to make sure your control inherits from the ICompontent interface; if you are inheriting from an existing control, then that isn't the problem. The other reason may be that your class is not public.
May 18, 2008 10:15 PM|dilip12|LINK
Thanks for your reply sir. I did as per your suggestion. Below is my usercontrol class
I builded my project and when i tried to add dll to the toolbar still i am getting the same error :
There are no components in c:/XX/XX/XX.dll that can be placed on the toolbox
Please let me know
May 21, 2008 01:52 AM|Nai-Dong Jin - MSFT|LINK
How do you deploy your project? Do you add a web deployment project? You may try the following article and follow the step by step tutorial.