I am trying to show the text from a richTexBox to a second text box which, I am able to do.
However the formatting is not retained, I would like to retain the formatting from the first text box in the second.
The problem is not the names of the text boxes it must be some form of instruction that i am missing
If EditBoxA.Text IsNot "" Then 'check if EditBoxA contains string
EditBoxB.Text = EditBoxA.Text
' and then
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click, Button55.Click
EditBoxA.Text = EditBoxB.Text
If RichTextBox1.Text IsNot "" Then 'check if RichTextBox1 contains string
RichTextBox2.Text = TextBox1.Text ' this is not RichTextBox1
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)