It means your
Form1 is, apparently, the name of your
CLASS. Unless the field
TestBox1 is a SHARED member of that class, you must first create and *OBJECT* of the
Form1 type and then reference the member via that.
In other words, your code looks something like this:
Code:
Class Form1
Public Textbox1 AS TextBox
...
... then some place in your other code:
Public Sub someMethod( )
Form1.Textbox1.Text = "abc"
...
You would need to do
Code:
Dim myForm As New Form1
...
myForm.Textbox1.Text = "abc"
If you don't create the Form1 object by using
then the form will not be "instantiated" and so nothing can appear on the screen.