|
-
Oct 20th, 2007, 09:01 PM
#1
Thread Starter
New Member
[RESOLVED] Terminating Strings??
Hi there,
I am using VB6 as a server which communicates with a Flash client.
I am to get them connected successfully, and the Flash Client can send the server data.
But my problem is trying to send data back to the client. I have done some research and gathered that I need to terminate any data sent to flash with a zero byte.
Does anyone have any idea how to do this with VB6?
Thanks.
Last edited by Hack; Oct 22nd, 2007 at 10:33 AM.
Reason: Added RESOLVED to the thread title and green resolved checkmark
-
Oct 20th, 2007, 09:19 PM
#2
Re: Terminating Strings??
Welcome to the forums. 
How are you sending the data?
-
Oct 20th, 2007, 09:21 PM
#3
Thread Starter
New Member
Re: Terminating Strings??
using a winsock control.
sock.SendData "Message"
-
Oct 22nd, 2007, 09:33 AM
#4
Thread Starter
New Member
Re: Terminating Strings??
Thanks for all the fantastic replies.
I found my solution on a forum that wasn't even a Visual Basic forum.
Solution:
Code:
YourString = YourString & Chr(0)
-
Oct 22nd, 2007, 10:33 AM
#5
Re: Terminating Strings??
Thanks for posting the answer anyway. Sorry we weren't more help.
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
|