Re: Read text file to Temp file and apply formating and color changes



Brian,

You might as well do it in the RichTextBox. Depending on how much formatting you need, you would basically have to write the code the RTF format. If you can find another component that will write RTF format files for you, you might be better off doing that.

Or, if you don't need to edit your files, use HTML (you can just create the markup on the fly).


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Brian Cook" <brian.cook@xxxxxxxx> wrote in message news:3089AAAE-51B5-441D-89CA-2B9A2A39BED1@xxxxxxxxxxxxxxxx
I want to open a text file and format it into a specific line and then apply
color to a specific location of the text and then display it in a RichTextBox
after all of this is done.

I can do all of the above after the file is loaded into the RichTextBox, and
I am trying to speed the process up by doing it in a temp file.

.



Relevant Pages


Loading