vb.net add objects to toolbox

I am trying to use a project that I found on-line, but I can not seem to get it added to the toolbox.

Can someone tell me how to do it or what I am doing wrong ?
Here is a link to the project:        
http://www.codeproject.com/KB/IP/winsock_revamped.aspx

Trying to use the 2008 version.

Thanks

sidwelleAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
CodeCruiserConnect With a Mentor Commented:
If you have the code of the control within the project, the control would appear in toolbox automatically when you build.

If you have the control compiled into a DLL, you can add it to the toolbox by the method shown in the link.
0
 
Alpesh PatelCommented:
It seems like the project what u are looking is produce .exe
how and what object you want to add in to the Toolbox.

0
 
sidwelleAuthor Commented:
Winsock, from the article, they make is sound easy.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Alpesh PatelCommented:
Winsock produce .dll that you cant add to Toolbox,
in tool box you can only add .ocx and any registerd activeX
0
 
sidwelleAuthor Commented:
I was never able to use the binary by its self, but I was able to open the project and make a reference to the control project and after I rebuilt, it showed up in my toolbox. But I think there has to be an easier solution.

0
 
Alpesh PatelCommented:
well thats depend on the type of object
if it will be control type object then only it will show up in toolbox
it it will be library type object then it will not show up in toolbox, but again at the same time, once you referenced that object in project, you would be able to instatiate and use that object in any where project.


i guess the winsock is library object, so it will not show up in toolbox, you can just instantiate it in the project.
0
 
CodeCruiserCommented:
@sidwelle
>after I rebuilt, it showed up in my toolbox.

That is the best way to get it to the toolbox as its part of your project.


Here is an example anyway

http://www.startvbdotnet.com/extras/user.aspx
0
 
sidwelleAuthor Commented:
I am still confused on how VB.net works. I knew that I could add a control project, and rebuild to find the control. The author made the control available as a compiled dll, so thought there would be a simple way to use it ?

BTW, that link was a good illustration, I saved it for future reference.

0
 
sidwelleAuthor Commented:
I read it again and tested it, you are correct.

Thanks
0
All Courses

From novice to tech pro — start learning today.