Results 1 to 2 of 2

Thread: Winsock Data Arrival

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Gloucester, UK
    Posts
    3

    Post

    I have a TCP Server sending the contents of four text boxes to a TCP Client. How do I seperate the arriving data so that they can be placed in four corresponding text boxes??

  2. #2
    Guest

    Post

    You can make a string like

    dim strsplit() as string
    dim string as string

    string = "hello;world"

    then you can seperate the string with the split keyword

    strsplit = Split(string, ";", -1, vbTextCompare)

    text1.text = strsplit(1)
    text2.text = strsplit(2)

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