3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

How to make a simple chat program in visual basic using the Microsoft Winsock Control

Step 2Creating the user infrence

Creating the user infrence
«
  • Winsock.JPG
  • Should look like this.JPG
Now it is time to create the user form

you will need to add the winsock control to the toolbox
do this by:
1. right click somewhere in the toolbox where there is nothing
2. click Components
3. in the long list find Microsoft Winsock Control 6.0 and check the box next to it
4. then click apply then close

Add:
5 text boxes
4 command buttons
1 winsock control

arrange them to look like the second picture below
« Previous StepDownload PDFView All StepsNext Step »
7 comments
May 8, 2011. 4:17 PManthonyyy0 says:
how do i add winsock to visual basic 2010?
Oct 17, 2009. 11:03 PMalzain says:
 i cant see the winsock component....i can find the file in sys32 but i cant register it...pliz help me i really need this
Jul 1, 2009. 3:59 PMvbexpressrocker says:
I've got the winsock in vb 2008 express edition all you need to fix is the bit where there is txtLog bit to display the chat it should be txtLog.Text!
Apr 16, 2009. 8:25 AMPrattled Bradshaw says:
why does this not work with visual basic 5?
Feb 26, 2009. 4:40 AMceszharina says:
hi... what if in my VB i dont have Microsoft Winsock Control 6.0(SP6) maybe because my installation is not completed and there are some missing components too beside that...what should i do? should i repeat the installing?? thankz...pls reply....

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
8
Followers
2
Author:twenglish1
i love working with electronics and computers, playing video games, and i love to play with fire, HACKING!!!!