PC Review


Reply
Thread Tools Rate Thread

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

 
 
Terry Olsen
Guest
Posts: n/a
 
      29th Feb 2004
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!


 
Reply With Quote
 
 
 
 
james
Guest
Posts: n/a
 
      29th Feb 2004
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


"Terry Olsen" <(E-Mail Removed)> wrote in message
news:#IQAykl$(E-Mail Removed)...
> 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!
>
>



 
Reply With Quote
 
Cor
Guest
Posts: n/a
 
      29th Feb 2004
Hi Terry,

Until now I needed nothing more than MSDN.microsoft.com and this.

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing it

http://msdn.microsoft.com/vbasic/vbr...q/#installvdir
I hope this helps a little bit?

Cor


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the best online resource for learning C# for beginners? kimiraikkonen Microsoft C# .NET 6 23rd May 2008 02:35 PM
Re: Best resource for learning VB.net? Henry Jones Microsoft Dot NET 0 1st Dec 2006 04:29 PM
.NET learning resource needed Ric Microsoft VB .NET 3 19th Aug 2004 07:44 PM
Learning VBA resource Kass Microsoft Access Macros 1 28th Jan 2004 04:50 AM
Learning resource for VBA Mike Microsoft Excel Programming 2 25th Nov 2003 09:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:10 AM.