I have try to place the html source in the textbox but the control cannot recongize the new line character. How can I handle?
Printable View
I have try to place the html source in the textbox but the control cannot recongize the new line character. How can I handle?
Have you set the textbox '.multiline' property to True ?
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
If you are talking about getting the textbox to recognize <BR> as an end of line - parce the string before placing it into the textbox by using the following code:
txtString = Replace(txtString, "<BR>", "<BR>" & Chr$(13))
(You may also want to repeat this line using lowercase br - just in case)
Also, like the previous guy said - make sure that you have the textbox set to multiline.