Changing the color of text when writing to a file

rookhappy

New member
Joined
Mar 18, 2005
Messages
2
Programming Experience
3-5
I am using a streamwriter to write text to a file. Depending on the text, I would like to change the color of some of the words 'on the fly' depending on their value to red. In the end, most of my text will be the default black however some of it I would like to change to red. How can this be done? I have looked around google but couldn't come up with a solution.
 
You could try using the richtextbox control and the savefiledialog. I'm sure i used those to make a notepad that could save colours etc.
 
Back
Top