Click to See Complete Forum and Search --> : [RESOLVED] How to implement Userdefuined Controls into toolbox ?


JonnyPoet
August 30th, 2006, 06:40 AM
Hi all !
Again a simple question, but I havn't found in a book, as I dont know what to search for exactly.
I have done a small userdefined control and it was easier then I thougt
But now: How to be able to use it in other projects so normally as I do in VB to add it to my standard toolbox ? Which steps are necessary as I dont find a point where to add the selfwritten Library. ( which in the moment only includes one control.) Thx in before:wave:

DanielaTm
August 30th, 2006, 06:55 AM
You have to create a Class Library, and there the user controls you want.
Here a good article:

http://webproject.scottgu.com/CSharp/UserControls/UserControls.aspx
I hope it helps

Shuja Ali
August 30th, 2006, 06:57 AM
If you have compiled the User Control then you should be able to add it to the tolbox by right clicking on the tool box and selecting Choose Items and in the resulting dialog select Brose and go to the folder where the control library is present, select it and you are done.

I am assuming you are using VB Express.

JonnyPoet
August 30th, 2006, 08:31 AM
Thx friends !
Quick and competent help, as everytime !