PDA

Click to See Complete Forum and Search --> : Winsock Data Arrival


AdrianCsi
Jan 12th, 2000, 08:08 PM
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??

Jan 12th, 2000, 08:18 PM
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)