Cannot find user control in Customize Toolbox dialog box

Joined
Dec 14, 2006
Messages
5
Programming Experience
1-3
I made my own control and created a test project to test it. The control worked fine. Then I closed that solution and created a new solution with one Windows Application project. I right-clicked in the Windows Forms area of the Toolbox, then I right-clicked on Add/Remove Items, which led me to the Customize Toolbox dialog box. I looked in the .NET Framework Components, but my control is NOT in there. I know it still exists on my computer...so what happened?:( I need to add it to my toolbox under Windows Forms so that I can use it in any project.

Thanks!
 
To do that, create a Class Library project and add the usercontrol to that project. Build and place the dll library file somewhere accessible (or install it with a Setup Project). Now you can 'add/remove items' from toolbox and 'browse..' and choose the dll. All available controls in class library is automatically added to toolbox.
 
Back
Top