views:

17

answers:

1

i have a winsock component made with vb.net in a class library that has events.

how do i make it appear in tool box if i reference the dll in another project.?

How do i use it in my c# program?

thanks

+2  A: 

If it's a proper component that's been registered properly on your PC you can just right click on the ToolBox and select Choose Toolbox Items which gives you the dialog described here.

Otherwise, just add a reference to the class and create some eventhandlers. Just search google for custom eventhandlers c# and you should find plenty of samples/tutorial, for example this link looks like it shows it in a nice and easy way.

ho1
thanks it really helpd me
Smith