[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.
Re: Terminating Strings??
Welcome to the forums. :wave:
How are you sending the data?
Re: Terminating Strings??
using a winsock control.
sock.SendData "Message"
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)
Re: Terminating Strings??
Thanks for posting the answer anyway. Sorry we weren't more help.