Best Resource for learning .NET (from a VB6 User's point of view)

  • Thread starter Thread starter Terry Olsen
  • Start date Start date
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!
 
Grab a good book such as:"Mastering Visual Basic.NET" by: Evangelos
Petroutsos
ISBN#0-7821-2877-7

All you need to do to add a SUB or Function is type:


Private Function............... And you are on your way.
Same with your own Sub.

Just grab that book I mentioned or any of several other's (checkout your
local bookstore) and you will see that what you are wanting to do is easy.
It's not a Project.....Add thing but, not any harder to do.
james
 
Back
Top