0

hi guys wondering if you can help i have thrown together a rough and ready project using winsock, now it is just thrown together to see if i could get it to work the problem is (well it does work first of all) when i receive data it is in the ascii format :dispframe: 0000: 0000: : 0000 i dont need the dispframe but i would like to have the remainder in seperate text boxs by the way the project is for a set of scales which when connected sends display data to pc

2
Contributors
1
Reply
3
Views
8 Years
Discussion Span
Last Post by agrothe
0

use the split function using : as your find character.

Then, using your array set your textboxes = to the proper indices.

textbox.text = myarray(1) etc.

myarray(0) will hold the text "dispframe" and you should probably drop the leading :

Make sense?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.