I have a program that has a Richtextbox that users will type a message in. The message is then sent to a form on another PC using TCP socket.
This all works find except that if the is a return character in the text that is sent it shows as a square character on the receiving form instead of creating a new line.
How do I check for this character? I tried using instr with VBCrlf as well as char(13) + char(10) on the string puled from the richtextbox before it is ever sent to the other form but it does not find the return character.
Thanks,
Ty
This all works find except that if the is a return character in the text that is sent it shows as a square character on the receiving form instead of creating a new line.
How do I check for this character? I tried using instr with VBCrlf as well as char(13) + char(10) on the string puled from the richtextbox before it is ever sent to the other form but it does not find the return character.
Thanks,
Ty