Simon
Freshman
Hello,
I have been working with Visual Basic for a couple of years and recently I bought Visual Basic .NET. I've managed pretty good with my experiences from Visual Basic 3.0, but sometimes I just don't know what to do , and the documentation doesn't help me at all.
My question is simple:
From a module I want to access the properties of a textbox on a form. Is this the correct syntax:
formname.textbox.Text = ""
This doesn't work. VB says:
"Reference to a non-shared member requires an object reference"
How do i share the member?
How do I make an object reference to my textbox?
Regards,
SiMoN.
I have been working with Visual Basic for a couple of years and recently I bought Visual Basic .NET. I've managed pretty good with my experiences from Visual Basic 3.0, but sometimes I just don't know what to do , and the documentation doesn't help me at all.
My question is simple:
From a module I want to access the properties of a textbox on a form. Is this the correct syntax:
formname.textbox.Text = ""
This doesn't work. VB says:
"Reference to a non-shared member requires an object reference"
How do i share the member?
How do I make an object reference to my textbox?
Regards,
SiMoN.