Click here to Skip to main content
15,909,091 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
How to add self user control into toolbox without adding dll in vb.net
Posted
Updated 16-May-13 3:12am
v2

You right-click the Toolbox, pick Choose Items, click Browse in the .NET Framework Components tab, then go find the .DLL your control is in and select that. Once the file is opened, the conents will be added to the list where you can sort it by namespace, find your controls, and make sure they have checkmarks next to them to select them. Hit OK and you're done.
 
Share this answer
 
If your usercontrol code is in your project/solution, it will automatically show up in the toolbox when you compile the solution.

If the usercontrol is in an outside assembly, then you MUST reference that assembly to get it to show up in the Toolbox.

You can still use a usercontrol in an outside assembly even though it is not installed in the Toolbox, but then you MUST reference the assembly directly in the project and instanciate the usercontrol in code (or edit the designer file manually, which is not recommended).

If you let us know WHY you want to do this, we might be able to provide you with a better answer.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900