L
Larry
if I type in the return character in a text box or richtext box, I do
not see the newline character in a string.
Scenario - I type 2 paragraphs in a text box. Visibly I can see the
information the windows form, but if I output the text in the textbox to
a string, and write the string to a file, I do not see that formatting.
Why not?
What do I need to do?
so sMyMessage = textbox1.text
where textbox1.text contains
"Hi my name is joe.
Yes, I had a happy holliday."
when a streamwriter is created, I do not see the lines between the first
and second line in the string file. Everything appears as continuous as
"Hi my name is joe. Yes, I had a happy holliday."
this is not what I want. I need things written to the file on separate
line. How do I fix it?
not see the newline character in a string.
Scenario - I type 2 paragraphs in a text box. Visibly I can see the
information the windows form, but if I output the text in the textbox to
a string, and write the string to a file, I do not see that formatting.
Why not?
What do I need to do?
so sMyMessage = textbox1.text
where textbox1.text contains
"Hi my name is joe.
Yes, I had a happy holliday."
when a streamwriter is created, I do not see the lines between the first
and second line in the string file. Everything appears as continuous as
"Hi my name is joe. Yes, I had a happy holliday."
this is not what I want. I need things written to the file on separate
line. How do I fix it?