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
How do I do this in VB2005Code:Winsock1.RemoteHost = txtIP.Text Winsock1.RemotePort = 10001 Winsock1.Connect() Winsock1.SendData("@" & NO & DoTal & vbCr) Winsock1.SendData("$" & NO & "6" & vbCr)
can somebody give me a hand on this.
Would be verry gratefull




Reply With Quote