I think i've looked at every example on this site regarding this, and i can't seem to figure out why this doesn't work for me. :confused:
On Form1, i have this code:Then on Form2, i try to use this: TextBox1.Text = Form1.FormTextDataVB Code:
Public Class Form1 Inherits System.Windows.Forms.Form 'Windows Form Designer generated code is here ..... Private Sub btnFormTwo_Click(.......) Handles btnFormTwo.Click Dim xNewForm As New Form2() xNewForm.Show() End Sub Public Property FormTextData() As String Get FormTextData = TextBox1.Text End Get Set(ByVal Value As String) TextBox1.Text = Value End Set End Property End Class
But it gives me the squiggles under Form1.FormTextData and says that Reference to a non-shared member requires an object reference.
I've done everything right as far as i can see, but it doesn't seem to want to work. What am i missing? :confused:
