Results 1 to 5 of 5

Thread: Problem with winsock conversion in vb2005

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2007
    Posts
    38

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width