Need Help With RichTextBox
-
Help! I'm trying to retrieve data from database and put it on richtextbox control. my problem is : the richtextbox control doesn't read the "\r" and "\n" character (13 and 10 in ASCII, return carriage and line feed). so the data was not displayed on different line but go through one line. any information on it? thankz a lot regards ~erwin~
-
Help! I'm trying to retrieve data from database and put it on richtextbox control. my problem is : the richtextbox control doesn't read the "\r" and "\n" character (13 and 10 in ASCII, return carriage and line feed). so the data was not displayed on different line but go through one line. any information on it? thankz a lot regards ~erwin~
more information, I try to display it in RTF Format. I think RTF Format doesn't accept "\r" and "\n". Am I correct? anyway to make RTF Format could read "\r" and "\n" character? CMIIW
Mail me at erwin@holyknight.us
-
more information, I try to display it in RTF Format. I think RTF Format doesn't accept "\r" and "\n". Am I correct? anyway to make RTF Format could read "\r" and "\n" character? CMIIW
Mail me at erwin@holyknight.us
...In fact, a carriage return line feed is never expected to be found in an RTF file...
Just found that in RTF Specification for Word2007. I just replace the "\r" "\n" with "\line" in RTF and it worked for now.. CMIIW
Mail me at erwin@holyknight.us
-
...In fact, a carriage return line feed is never expected to be found in an RTF file...
Just found that in RTF Specification for Word2007. I just replace the "\r" "\n" with "\line" in RTF and it worked for now.. CMIIW
Mail me at erwin@holyknight.us
5 voted for finding the solution yourself, and then remembering to post it for others to see.:-D
Deja View - the feeling that you've seen this post before.