where is the winsock control
-
hello i need your help. the text below i get from the msdn website Change the caption of the form to "TCP Server." Draw a Winsock control on the form and change its name to tcpServer. Add two TextBox controls to the form. Name the first txtSendData, and the second txtOutput. im not sure where to draw a winsock control as mention above i try searching the toolbox but nothing is found can you please tell me where can i get it? do i need to select or enable anything to get the control? thank you in advance Gary
-
hello i need your help. the text below i get from the msdn website Change the caption of the form to "TCP Server." Draw a Winsock control on the form and change its name to tcpServer. Add two TextBox controls to the form. Name the first txtSendData, and the second txtOutput. im not sure where to draw a winsock control as mention above i try searching the toolbox but nothing is found can you please tell me where can i get it? do i need to select or enable anything to get the control? thank you in advance Gary
I take it your using VB6... You have to add the Winsock control to the Toolbox. Right click anywhere in the grey area of the toolbox and select Add Components. Scroll down the list that comes up and click on the check box next to "Microsoft Winsock Control", I think(!), I can't remember the exact name. If you can't find the name, Browse for the file "Mswinsck.ocx" and add that instead. The control came with the Professional and Enterprise versions of Visual Studio 6.0 or Visual Basic 6.0. It does NOT come with the Learning Editions. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
I take it your using VB6... You have to add the Winsock control to the Toolbox. Right click anywhere in the grey area of the toolbox and select Add Components. Scroll down the list that comes up and click on the check box next to "Microsoft Winsock Control", I think(!), I can't remember the exact name. If you can't find the name, Browse for the file "Mswinsck.ocx" and add that instead. The control came with the Professional and Enterprise versions of Visual Studio 6.0 or Visual Basic 6.0. It does NOT come with the Learning Editions. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
hello im sorry but im actually using vb.net im kinda noob when my elder brother is not around to help me so i use this forum that my brother usually use to find the answer i need please help me thank you Gary
-
-
this means that this winsock is done just by pure coding? can you please give me a small coding example or a link to a place where i can refer so that i can understand more clearly thank you Dave Gary
You can search the articles on CodeProject for "sockets" and you'll come up with a bunch of 'em. There aren't any written in VB.NET, but there are in C#. You can convert the code to VB.NET pretty easily. You can start with Asynchronous socket communication [^] RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome