Hi all:

I Have 2 controls in Form1 (TextBox1 and Button1).
TextBox1.Text = "111"

Then I have a class (myClass.vb) that inherits Form1
This class as a:

Sub ChangeText()
dim objForm1 as New Form1
objForm1.TextBox1.Text = "222"
End Text

When I click on Button1 i want to go to the ChangeText() in the other class and change TextBox1.Text

Function Button1_Click
dim objmyClass as New myClass
objmyClass.ChangeText()
End Function


But it doesn't work ..

How can I change TextBox1 properties or other Control properties that are in Form1.vb from a Function that is in myClass.vb?

Thanx in advance.
B.