473,804 Members | 3,200 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

learning .net after VB6

Hi.

Can you recommend any books or courses to learn .net if one
has been using VB6 for many years?

Thanks.
Jun 27 '08 #1
20 1338

Here is a freebie:
http://msdn.microsoft.com/en-us/vbrun/ms788236.aspx

My OPINION (note the word of opinion, as in, everybody has one) would be to
try csharp. This will allow you to leave your (bad) vb6 habits behind you
for the most part.

...

You can stick with vb.net as well.

My vb.net suggestions:

Exception Handling? (ErrorHandling)

Take the vb6 mentality of exception handling and do the 4 following things:

1. Put it in a brown paper bag.
2. Take it to someone's house you don't like.
3. Set it on fire.
4. Run away from it as fast as you can.

...

Check here:
http://blogs.msdn.com/kcwalina/archi...16/396787.aspx
If you're using "resume next" in your VB code, then do NOT bring it forward
to .Net. Just
because you ~can~ doesn't mean you ~should~.
Another one:
ADO is NOT ADO.NET. Learn about the IDataReader and the strong DataSet.

Another one:
ASP.NET is NOT ASP.

Another one:
Put
Option Explicit On
Option Strict On

at the top of your classes, until you figure out how you can do it on a
project setting level. This will help you avoid the old vb6 stuff like
dim x
or
dim x as variant

Throw that mindset out the window.
...
This is just one area where your mentality will need to change some.
But try the free book above.

I may be a few blasts from some other posters. That's fine. These are
OPINIONS.
Keep in mind I coded VB4, VB5, and VB6 for over 6 years. It was my bread
and butter for a long time.
And gosh I wish someone had given me some better guidance than I got when I
went from VB6 to VB.Net.

I ended up going to csharp so I could avoid all the vb.net stuff that you're
allowed to do, but you shouldn't do.

Good luck.
"dman" <dm**@aol.comwr ote in message
news:Oo******** ********@TK2MSF TNGP04.phx.gbl. ..
Hi.

Can you recommend any books or courses to learn .net if one
has been using VB6 for many years?

Thanks.

Jun 27 '08 #2
There is a second free book:

http://msdn.microsoft.com/en-us/vbrun/ms788234.aspx

"sloan" <sl***@ipass.ne twrote in message
news:OK******** ********@TK2MSF TNGP06.phx.gbl. ..
>
Here is a freebie:
http://msdn.microsoft.com/en-us/vbrun/ms788236.aspx

My OPINION (note the word of opinion, as in, everybody has one) would be
to try csharp. This will allow you to leave your (bad) vb6 habits behind
you for the most part.

..

You can stick with vb.net as well.

My vb.net suggestions:

Exception Handling? (ErrorHandling)

Take the vb6 mentality of exception handling and do the 4 following
things:

1. Put it in a brown paper bag.
2. Take it to someone's house you don't like.
3. Set it on fire.
4. Run away from it as fast as you can.

..

Check here:
http://blogs.msdn.com/kcwalina/archi...16/396787.aspx
If you're using "resume next" in your VB code, then do NOT bring it
forward to .Net. Just
because you ~can~ doesn't mean you ~should~.
Another one:
ADO is NOT ADO.NET. Learn about the IDataReader and the strong DataSet.

Another one:
ASP.NET is NOT ASP.

Another one:
Put
Option Explicit On
Option Strict On

at the top of your classes, until you figure out how you can do it on a
project setting level. This will help you avoid the old vb6 stuff like
dim x
or
dim x as variant

Throw that mindset out the window.
..
This is just one area where your mentality will need to change some.
But try the free book above.

I may be a few blasts from some other posters. That's fine. These are
OPINIONS.
Keep in mind I coded VB4, VB5, and VB6 for over 6 years. It was my bread
and butter for a long time.
And gosh I wish someone had given me some better guidance than I got when
I went from VB6 to VB.Net.

I ended up going to csharp so I could avoid all the vb.net stuff that
you're allowed to do, but you shouldn't do.

Good luck.
"dman" <dm**@aol.comwr ote in message
news:Oo******** ********@TK2MSF TNGP04.phx.gbl. ..
>Hi.

Can you recommend any books or courses to learn .net if one
has been using VB6 for many years?

Thanks.


Jun 27 '08 #3
Sloan,
My OPINION (note the word of opinion, as in, everybody has one) would be
to try csharp. This will allow you to leave your (bad) vb6 habits behind
you for the most part.
You had some arguments with your wife, or is this opinion based on something
more?

:-)

Cor

Jun 27 '08 #4

I see too many VB6'ers who retain bad habits going to VB.NET.

They want to use the upgrade wizard instead of actually learning the DotNet
framework.
I know some of it is just not knowing any better. But some of it is just
laziness.

...

If one or both of these (below) options existed, I wouldn't hestitate to
recommend vb.net (aka, equal grounding with c#).

Option JustLikeCSharp ON
OR
Option OldLegacyVB6Cra pStillHangingAr ound OFF

...

But alas those aren't available, thus my opinion.
I mean seriously... "Resume Next" ? What year is it?
I also assuming the user means VB.Net with Framework 2.0 or above. I had a
few issues with VB.Net with Framework 1.1, but most of them have been
addressed.


"Cor Ligthert[MVP]" <no************ @planet.nlwrote in message
news:C5******** *************** ***********@mic rosoft.com...
Sloan,
>My OPINION (note the word of opinion, as in, everybody has one) would be
to try csharp. This will allow you to leave your (bad) vb6 habits behind
you for the most part.
You had some arguments with your wife, or is this opinion based on
something more?

:-)

Cor

Jun 27 '08 #5
Sloan,

I think you are right in a kind of way.

However, as I use both, I wished there was in C# something as VB.Net
behaviour ON.

By instance to replace that odd legacy method in C# to connect a system
message to an EventHandler.

:-)

Cor

"sloan" <sl***@ipass.ne tschreef in bericht
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
>
I see too many VB6'ers who retain bad habits going to VB.NET.

They want to use the upgrade wizard instead of actually learning the
DotNet framework.
I know some of it is just not knowing any better. But some of it is just
laziness.

..

If one or both of these (below) options existed, I wouldn't hestitate to
recommend vb.net (aka, equal grounding with c#).

Option JustLikeCSharp ON
OR
Option OldLegacyVB6Cra pStillHangingAr ound OFF

..

But alas those aren't available, thus my opinion.
I mean seriously... "Resume Next" ? What year is it?
I also assuming the user means VB.Net with Framework 2.0 or above. I had
a few issues with VB.Net with Framework 1.1, but most of them have been
addressed.


"Cor Ligthert[MVP]" <no************ @planet.nlwrote in message
news:C5******** *************** ***********@mic rosoft.com...
>Sloan,
>>My OPINION (note the word of opinion, as in, everybody has one) would be
to try csharp. This will allow you to leave your (bad) vb6 habits
behind you for the most part.
You had some arguments with your wife, or is this opinion based on
something more?

:-)

Cor

Jun 27 '08 #6
On 2008-06-10, Cor Ligthert[MVP] <no************ @planet.nlwrote :
Sloan,

I think you are right in a kind of way.

However, as I use both, I wished there was in C# something as VB.Net
behaviour ON.

By instance to replace that odd legacy method in C# to connect a system
message to an EventHandler.
I like the C# way better - so, don't give them any ideas about something like
that nastyness known as WithEvents and Handles... Yuck!

--
Tom Shelton
Jun 27 '08 #7
Thanks.

Most of the jobs I see in in my area are for .net, that is why I choose .net

"Kerry Moorman" <Ke**********@d iscussions.micr osoft.comwrote in message
news:2F******** *************** ***********@mic rosoft.com...
dman,

If you already have a strong VB6 background then I would recommend any of
Francesco Balena's books.

Kerry Moorman
"dman" wrote:
>Hi.

Can you recommend any books or courses to learn .net if one
has been using VB6 for many years?

Thanks.

Jun 27 '08 #8
I just found Programming VB.Net (Core Reference) by Balena - from 2002

Is that one ok, or is it too outdated?

"Kerry Moorman" <Ke**********@d iscussions.micr osoft.comwrote in message
news:2F******** *************** ***********@mic rosoft.com...
dman,

If you already have a strong VB6 background then I would recommend any of
Francesco Balena's books.

Kerry Moorman
"dman" wrote:
>Hi.

Can you recommend any books or courses to learn .net if one
has been using VB6 for many years?

Thanks.

Jun 27 '08 #9
On Jun 10, 9:27*pm, "dman" <d...@aol.comwr ote:
I just found Programming VB.Net (Core Reference) by Balena - from 2002

Is that one ok, or is it too outdated?

"Kerry Moorman" <KerryMoor...@d iscussions.micr osoft.comwrote in message

news:2F******** *************** ***********@mic rosoft.com...
dman,
If you already have a strong VB6 background then I would recommend any of
Francesco Balena's books.
Kerry Moorman
"dman" wrote:
Hi.
Can you recommend any books or courses to learn .net if one
has been using VB6 for many years?
Thanks.- Hide quoted text -

- Show quoted text -
I can also suggest to take a look at "Programmin g Visual Basic 2005:
The Language" whose author is Francesco Balena and that book focuses
on .NET 2.0 and VB 2005:
http://www.amazon.com/Programming-Mi.../dp/0735621837
http://www.dotnet2themax.com/ProgrammingVB2005.aspx

Good luck...

Onur Güzel
Jun 27 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2152
by: Ron Stephens | last post by:
The newly rechristened Python Learning Foundation is a web site dedicated to the assistance of people learning the Python programming language. Features include: 1. Daily lists of new and recent Python-related web articles, Sourceforge projects, and Vaults of Parnassus listings. These are generated using Hans Nowak's Python web spider, mygale.py, and are automatically updated each day. (You can visit Han's interesting blog at <a href =...
29
3509
by: Jhon smith | last post by:
Hi,all,I was just wondering if I am likly to have any problems trying to learn C from older books,I have some from the late 80`s,mid/late 90`s. I am using Dev-C++ on the pc windows platform,But I have noticed small differnces in the books such as,int main(),main(void),fprintf,and others,just wondering if these older books are still worth trying to learn from as Im on a very tight budget and can`t really afford any thing else,or are they...
4
2062
by: Christian Blackburn | last post by:
Hi Gang, I saw this for sale online: Microsoft Visual Basic.NET Deluxe Learning Edition Version 2003. I'm wondering is the CD that's bundled with the learning edition just a digitized version of the book or is it an interactive tutorial? Thanks, Christian Blackburn
1
9665
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
7
1589
by: Max | last post by:
On monday I start a semester course in Python (the alternative was Java). I was looking through the course outline and noticed the following: 1) UserDict is used. This is deprecated, right? 2) There is no mention of list comprehensions, but map and filter are taught early and then revisited later. I don't think this is good: list comprehensions are, IMO, one of Python's great features, Psyco prefers them, they're more pythonic, and map...
36
2550
by: utab | last post by:
Dear, I have experince in C( numerical projects, like engineering problems, scientific applications) I have the basic notion of C++ also, I have read Accelerated C++ until Chapter 7, however it seems that it discusses the std and the other part of the language with your own abstractions. Is that better to read a book first on the basic concepts of C++ language (but not the C part) that gives the basics as if the reader is a beginner...
2
1255
by: bokiteam | last post by:
Hi All, Here is my idea to save learning time - Personal learning book. What we really need is somebody really familiar our learning experience, and then takes the example to teach us. Save the learning time. For example, a person David who understands JAVA, VB, C programming, he doesn't want to pay too much time to study a C# programming book. If
78
4220
by: arnuld | last post by:
hai all, i am standing on a "crossroad to C++". I am here in front of you as i have a problem. i will be brief. Please do not think: "arnuld is sick", i am really struggling & doing hard-work to become a Modern C++ Programmer & i am feeling as if i am standing on a crossroad. i am asking because every time i made a decision on my own, in my past, i always ran into huge wastage of time, money & effort. that is why i am posting it here:
0
1557
by: LK~ICT | last post by:
Sri Lanka rural e-learning project seeks corporate support Dec 04, 2007 (LBO) - A Sri Lankan e-learning initiative for rural students is seeking corporate sector support to expand and cover 400 computer centers around the island, its designers said. The Shilpa Sayura project initiated by eFusion, a local software company, is a learning tool for rural students who do not have the necessary number of teachers and lack resources to...
16
1769
by: John Salerno | last post by:
Just something that crosses my mind every time I delve into "Learning Python" each night. Does anyone see any value in learning Python when you don't need to for school, work, or any other reason? I mean, sure, there's value in learning anything at any time, but for something like a programming language, I can't help but feel that I will be mostly unable to use what I learn simply because I have no reason to use it. The *process* of...
0
9584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10337
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7622
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5654
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3822
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.