T
Terry Olsen
Trying to learn VB .NET is proving to be an extremely slow & tedious
adventure. For example...
VB .NET won't let me add my own SUBS or FUNCTIONS to Form1.vb. So I created
a module and put my SUBS in there. I can call the SUBS from the Form1.vb,
but I can't reference the controls in Form1.vb from the Module. For
example, I have a label on the form I want to change from a SUB in the
Module. In VB6, it was easy:
Form1.Label1.Caption = "MyText"
I can't seem to be able to accomplish this in VB .NET. It seems like every
line of code I write must be researched before I get a successful result.
1. Can anyone tell me quick the answer to my problem?
2. What is the best resource (book, web site, etc) for questions like this?
Thanks!
adventure. For example...
VB .NET won't let me add my own SUBS or FUNCTIONS to Form1.vb. So I created
a module and put my SUBS in there. I can call the SUBS from the Form1.vb,
but I can't reference the controls in Form1.vb from the Module. For
example, I have a label on the form I want to change from a SUB in the
Module. In VB6, it was easy:
Form1.Label1.Caption = "MyText"
I can't seem to be able to accomplish this in VB .NET. It seems like every
line of code I write must be researched before I get a successful result.
1. Can anyone tell me quick the answer to my problem?
2. What is the best resource (book, web site, etc) for questions like this?
Thanks!