Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I have a RichTextBox, the user is able to write the text and attached the icon/image into the RichTextBox.

If i want to convert the RichTextBox content to the other application via TCP socket. And the other application is able to display/show the RichTextBox content (with text, image and icon).

May I know how can I do that?
Posted
Updated 28-Oct-11 5:12am
v2
Comments
Sergey Alexandrovich Kryukov 28-Oct-11 11:55am    
Why, why?!
--SA

You should send the richtextbox contents as richtextformat i.e (rtf) and not as text (txt) so as to preserve the formatting of the richtextbox control. richtext format will preserve images, icon, text and any other text formatting done.
 
Share this answer
 
v2
I need to send the content to the other application via TCP socket and share by the other application (java, C++). Any suggestion on the procedure and any sample code I can ref to?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900