|
-
Feb 2nd, 2006, 08:39 PM
#15
Thread Starter
Addicted Member
Re: Sending Large String Data
Ok, heres the thing...
winsock1.getdata data
If the first 6 letters of data = txtlog then TxtLog
Public Sub TxtLog
frmmain.txtlog.text = data
end sub
pretty much theres it in short w/o the correct stuff. My problem is that I run the program and grab the data and it shows like this
txtlogajkls dhfasjflka sjflksjflskajlfsatxtlog alkjdflasjflkjdjlfsa djkftxtlogalksdjfl askjftxtlogalksdjfalksjf txtloglas sldfkakdsjfsaklj aksldfjalsfjsakfjsakfj as fatxtlog lkajsdfasjf lasf txtlogalksdjfalsjfd
Notice how there are random "txtlog"'s all over the place because that is in the data that the server sends. So I need to do something like.
winsock1.getdata data
If the first 6 letters of data = txtlog then TxtLog
Public Sub TxtLog
frmmain.txtlog.text = data - the first 6 characters at the beginning
end sub
Is this better explained?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|