|
-
Dec 13th, 2007, 03:11 PM
#1
Thread Starter
Member
Problem with winsock conversion in vb2005
I am going mad.
Several day I am trying to convert the vb6 winsock code into vb2005 but now i am stuc. Can somebody help me with this.
I am trying to send commands to a Net PLC and instruct a machine to run
In VB6 the code is like this
Code:
Winsock1.RemoteHost = txtIP.Text
Winsock1.RemotePort = 10001
Winsock1.Connect()
Winsock1.SendData("@" & NO & DoTal & vbCr)
Winsock1.SendData("$" & NO & "6" & vbCr)
How do I do this in VB2005
can somebody give me a hand on this.
Would be verry gratefull
Last edited by Compyfreak; Dec 13th, 2007 at 03:50 PM.
-
Dec 14th, 2007, 08:01 AM
#2
Re: Problem with winsock conversion in vb2005
Welcome to the forums. 
Have a look at this.
-
Dec 14th, 2007, 08:11 AM
#3
Thread Starter
Member
Re: Problem with winsock conversion in vb2005
Bigg Thanks for welkoming me on the forum.
I gone take a look at this code.
Thank you for your quick answer
-
Dec 14th, 2007, 09:13 AM
#4
Re: Problem with winsock conversion in vb2005
No problem. When I was searching I found a few examples, but the one I posted looked the most promising.
-
Dec 14th, 2007, 02:35 PM
#5
Thread Starter
Member
Re: Problem with winsock conversion in vb2005
is there a way to do this with the system.net in VB2005?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|