On 2008-04-18, Ellie <no****@nospam.netwrote:
I probably should have added that this file will then later be read into a
RichTextBox control and that is the only way it will be viewed.
"Ellie" <no****@nospam.netwrote in message
news:uN**************@TK2MSFTNGP02.phx.gbl...
>>I have a VB6 program upgraded to vb.net and I need to use the printline
function to write to a text file but I need certain characters in bold.
Would anyone be able to tell me how to do this, if possible? Thanks, Ellie
Then you need to write out the text in rtf. At the minimum that might
look like:
{\rtf
This is text with some \b bold\b0 .
}
You can find the complete rtf specs online - but that may not be
necessary if what your doing is simple. One way to figure out what you
need is to just use Wordpad to create a simple rtf document with the
feature you want, and then open the generated document in notepad. That
way you can see the rtf markup.
--
Tom Shelton