M
Mani
I have a windows form (FORM1) and in that I have a Richtextbox control.
I am loading another form (FORM2) from form 1. From FORM2 I would like
to access the richtexbox control on FORM1. So I tried doing the
following code in form 2.
Dim m_Form1 As New Form1
MessageBox.Show(m_Form1.RichTextBox1.Text)
But the above code returns me nothing.
Any suggestions???
Regards
Mani
I am loading another form (FORM2) from form 1. From FORM2 I would like
to access the richtexbox control on FORM1. So I tried doing the
following code in form 2.
Dim m_Form1 As New Form1
MessageBox.Show(m_Form1.RichTextBox1.Text)
But the above code returns me nothing.
Any suggestions???
Regards
Mani