Sending emoticons between 2 applications
-
Hi, I am creating a TCP Chat application using Asynchronous method calls and I have created 2 applications, one of which is a mobile app that runs on a PDA and the other on a desktop pc. At the moment i can send text back and forth but i would like to send emoticons too. I am using a richtextbox, how could i go about doing this? I would appreciate your thoughts and advice. Thanks,
-
Hi, I am creating a TCP Chat application using Asynchronous method calls and I have created 2 applications, one of which is a mobile app that runs on a PDA and the other on a desktop pc. At the moment i can send text back and forth but i would like to send emoticons too. I am using a richtextbox, how could i go about doing this? I would appreciate your thoughts and advice. Thanks,
Eagle32 wrote:
I am using a richtextbox, how could i go about doing this?
How about using some textual representation of the emoticon? Suppose you have a :laugh:, you could encode this image as
:-D
, and a :mad: encoded as:-@
. Replace the string with the images before display, and replace the images with their respective codes when you want to send/save the message. Would be somewhat similar to coding your own "escape characters".I are Troll :suss: