Mergeing two RTF documents into one Richtextbox

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

I have a database full of RTF text strings (with RTF formatting of course)
how could i merge all the RTF text entries together into one RTF document
that would show up on a rich text box? the ways i have tried end up showing
the formatting code each time... thanks!
 
* "Brian Henry said:
I have a database full of RTF text strings (with RTF formatting of course)
how could i merge all the RTF text entries together into one RTF document
that would show up on a rich text box? the ways i have tried end up showing
the formatting code each time... thanks!

\\\
Me.RichTextBox1.Text = ""
Me.RichTextBox2.SelectAll()
Me.RichTextBox1.SelectedRtf = Me.RichTextBox2.SelectedRtf
Me.RichTextBox3.SelectAll()
Me.RichTextBox1.Select(Me.RichTextBox1.TextLength, 0)
Me.RichTextBox1.SelectedRtf = Me.RichTextBox3.SelectedRtf
Me.RichTextBox4.SelectAll()
Me.RichTextBox1.Select(Me.RichTextBox1.TextLength, 0)
Me.RichTextBox1.SelectedRtf = Me.RichTextBox4.SelectedRtf
///
 
Back
Top