How are you putting the text into word? Are you setting the
document.content?
The way I got rtf data from a dataset into word was to write it to a
temporary file, then use the InsertFile command on a range in word.
Hope that helps..
"Jeff Haumesser" <ha*******@karpel.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
I believe the codes are error free. This same text is displayed correctly
in a RichTextBox in another part of my application.
"SStory" <Th*******@TAKETHISSPAMBUSTEROUT.Softhome.net> wrote in message
news:ei**************@TK2MSFTNGP09.phx.gbl... maybe there is an error in the RTF... Seems to me that a true RTF file
will display in Word reguardless... or are you just copying and pasting?
Does it display in the Richtextbox control? If you set selrtf?
"Jeff Haumesser" <ha*******@karpel.com> wrote in message
news:Oc**************@tk2msftngp13.phx.gbl... Does anyone know a way to display RTF text in a word document?
I have RTF text from a dataset, and wish to display the text Formatted in a Word document. The problem is that the format codes are displayed as
well.
In VB6, my solution was to put the text in Clipboard and paste it.
However, this doesn't seem to work in VB .NET. Maybe I'm just overlooking a
simple solution, but I sure can't seem to find it.
Any help would be appreciated.
Jeff