473,379 Members | 1,245 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Learning curve for Visual Basic 6 programmers moving to Visual Basic.net

Hi there

I have some questions for those experienced Visual Basic 6 programmers out
there
who have made the transition from VB6 to Vb.net.

How long did it take you to learn at least the basic elements of
VB.net....so that
you were confident to write a application from scratch. This wouldnt
necessarily
have to be a complex (ie 3 layer) or use COM/ Active X.

But say a database application connecting to SQL Server with a few forms...

Did you find the process easy or were there a few pitfalls on the way?

I am a Visual Basic 6/VBA programmer with 6 years full lifecycle
development experience of building and maintaining applications.

My company plans for me to re-write some of the in house applications
but will send me on training courses....in order for me to translate the
aspects i know in VB6 into Vb.net

Many thanks
Chris Asaipillai
May 16 '07 #1
8 2838
Hi Chris,

I wrote VB5 & VB6 software for a number of years before moving to .Net.
Because I did quite a bit of COM/DCOM/MTS work I found that I was
increasingly trying to write OO-style code with VB6. When moving to VB.Net I
found it was much easier to do the things I had been struggling to do in VB6.
So much so that within a few weeks I was writing much better apps in .Net
than I could with VB6. The biggest learning curve is probably moving from a
traditional VBA/VB approach to using an OO approach.

The libraries supplied with .Net are huge so you won't learn everything for
a long time and your learning curve will never flatten out by the time
Microsoft bring out the next version but this is nevertheless a move I'm sure
that you will probably enjoy. I hate writing VB6 code now!

Regarding database access and distributed architecture - this is very
different but the basics are easy to learn.

Hope this helps.

Pete

"Chris Asaipillai" wrote:
Hi there

I have some questions for those experienced Visual Basic 6 programmers out
there
who have made the transition from VB6 to Vb.net.

How long did it take you to learn at least the basic elements of
VB.net....so that
you were confident to write a application from scratch. This wouldnt
necessarily
have to be a complex (ie 3 layer) or use COM/ Active X.

But say a database application connecting to SQL Server with a few forms...

Did you find the process easy or were there a few pitfalls on the way?

I am a Visual Basic 6/VBA programmer with 6 years full lifecycle
development experience of building and maintaining applications.

My company plans for me to re-write some of the in house applications
but will send me on training courses....in order for me to translate the
aspects i know in VB6 into Vb.net

Many thanks
Chris Asaipillai
May 16 '07 #2
Hi Pete
I have studied the concepts of OO through both VB6
and C ++ but have programmed more in the procedural
manner.

So I think that understanding will help me ease into .net

I think i will get to grips with the database stuff inc connections,
data readers etc.

Thats encouraging that you were able to write .Net applications,
i was giving myself 3 months!!!

Thanks for your post that was most useful indeed.

Kind Regards

Chris Asaipillai
"Pete" <Pe**@discussions.microsoft.comwrote in message
news:5F**********************************@microsof t.com...
Hi Chris,

I wrote VB5 & VB6 software for a number of years before moving to .Net.
Because I did quite a bit of COM/DCOM/MTS work I found that I was
increasingly trying to write OO-style code with VB6. When moving to VB.Net
I
found it was much easier to do the things I had been struggling to do in
VB6.
So much so that within a few weeks I was writing much better apps in .Net
than I could with VB6. The biggest learning curve is probably moving from
a
traditional VBA/VB approach to using an OO approach.

The libraries supplied with .Net are huge so you won't learn everything
for
a long time and your learning curve will never flatten out by the time
Microsoft bring out the next version but this is nevertheless a move I'm
sure
that you will probably enjoy. I hate writing VB6 code now!

Regarding database access and distributed architecture - this is very
different but the basics are easy to learn.

Hope this helps.

Pete

"Chris Asaipillai" wrote:
>Hi there

I have some questions for those experienced Visual Basic 6 programmers
out
there
who have made the transition from VB6 to Vb.net.

How long did it take you to learn at least the basic elements of
VB.net....so that
you were confident to write a application from scratch. This wouldnt
necessarily
have to be a complex (ie 3 layer) or use COM/ Active X.

But say a database application connecting to SQL Server with a few
forms...

Did you find the process easy or were there a few pitfalls on the way?

I am a Visual Basic 6/VBA programmer with 6 years full lifecycle
development experience of building and maintaining applications.

My company plans for me to re-write some of the in house applications
but will send me on training courses....in order for me to translate the
aspects i know in VB6 into Vb.net

Many thanks
Chris Asaipillai

May 16 '07 #3

"Chris Asaipillai" <ch**************@btinternet.comwrote in message
news:46***********************@news.zen.co.uk...
Hi there

I have some questions for those experienced Visual Basic 6 programmers out
there
who have made the transition from VB6 to Vb.net.

How long did it take you to learn at least the basic elements of
VB.net....so that
you were confident to write a application from scratch. This wouldnt
necessarily
have to be a complex (ie 3 layer) or use COM/ Active X.
In about a week is all it took for me.
>
But say a database application connecting to SQL Server with a few
forms...

Did you find the process easy or were there a few pitfalls on the way?
None, you need to get a good ADO.NET book to teach you the basics of
ADO.NET. And you may want to get a good book on .NET Remoting.
>
I am a Visual Basic 6/VBA programmer with 6 years full lifecycle
development experience of building and maintaining applications.

My company plans for me to re-write some of the in house applications
but will send me on training courses....in order for me to translate the
aspects i know in VB6 into Vb.net
All you have to know is how Inheritance and Polymorphism work in OOp(s)
programming.

VB is VB. You have to know about the namespaces.

This may give you a start but you may not need it.

http://msdn.microsoft.com/vstudio/ex.../learningpath/

You already have the experience and expertise.

Even if they send you to school, you may want to get the MSPress Training
Kit books, make the company buy them, which gives one a good foundation on
the basics and are good references books, forget that they are certification
books.

Depending upon which way you need to go, make them get the MCPD Web
Developer or MCPD Windows Developer Kit. ISBN 978-0-7356-2376-7 is for Web.
You can find the one for Windows, if need be.

Or get the books for .Net 2003, if they are not using .Net 2005.

Now, if you really want to come up to speed fast, then get the CSLA VB 2005
book read it, put the CSLA Framework together and put the project together
for Web and Windows desktop. You will then know how to use VB.Net.

http://www.lhotka.net/Article.aspx?i...b-e0059cc82ee7



May 16 '07 #4

"Chris Asaipillai" <ch**************@btinternet.comwrote in message
news:46***********************@news.zen.co.uk...
Hi there

I have some questions for those experienced Visual Basic 6 programmers out
there
who have made the transition from VB6 to Vb.net.

How long did it take you to learn at least the basic elements of
VB.net....so that
you were confident to write a application from scratch. This wouldnt
necessarily
have to be a complex (ie 3 layer) or use COM/ Active X.

But say a database application connecting to SQL Server with a few
forms...

Did you find the process easy or were there a few pitfalls on the way?

I am a Visual Basic 6/VBA programmer with 6 years full lifecycle
development experience of building and maintaining applications.

My company plans for me to re-write some of the in house applications
but will send me on training courses....in order for me to translate the
aspects i know in VB6 into Vb.net

Many thanks
Chris Asaipillai
Hi, Chris.
I think the secret is to realize that you are entering a new world and that
you need to let the past go.
Once you've done that, you'll find the .NET Framework class library,
especially ADO.NET to be far superior to what you're used to.
Grab some tutorials on MSDN and/or CodeProject and give it a couple of
weeks. You won't look back.
May 16 '07 #5
You can check this out:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!140.entry

Its in C#.

However, you could learn, by translating it into vb.net.
(without the auto translaters)

Add the projects in this order

MyApp.DataSets
MyApp.Data
MyApp.BusinessLogic
MyApp.Console1 (or MyApp.Winforms1)

MyApp.Data references MyApp.DataSets
MyApp.BusinessLogic references MyApp.DataSets, MyApp.Data
MyApp.Console1 references MyApp.DataSets, MyApp.BusinessLogic

MyApp.Console1 does not reference MyApp.Data

Make sure you turn on (in vb.net)

Option Strict On
Option Explicit On

Its better to do this up front, so you don't have auto-converters always
running for you.


"Chris Asaipillai" <ch**************@btinternet.comwrote in message
news:46***********************@news.zen.co.uk...
Hi there

I have some questions for those experienced Visual Basic 6 programmers out
there
who have made the transition from VB6 to Vb.net.

How long did it take you to learn at least the basic elements of
VB.net....so that
you were confident to write a application from scratch. This wouldnt
necessarily
have to be a complex (ie 3 layer) or use COM/ Active X.

But say a database application connecting to SQL Server with a few
forms...
>
Did you find the process easy or were there a few pitfalls on the way?

I am a Visual Basic 6/VBA programmer with 6 years full lifecycle
development experience of building and maintaining applications.

My company plans for me to re-write some of the in house applications
but will send me on training courses....in order for me to translate the
aspects i know in VB6 into Vb.net

Many thanks
Chris Asaipillai


May 16 '07 #6
I've been using DotNet most days from Beta 1.0 and it's fair to say that I'm
still learning most days! You're probably lucky as the transistion from
VB6 windows forms to DotNet windows forms is far easier than to transistion
from classic ASP to ASP.NET. However with your experience you should be
able to hit the ground running! Probably seeing it for the first time the
strangest thing is that most things are either an object or a method, so
there's far fewer keywords.

For me personally, being introduced to design patterns really helped (I
found this site to be a good help:
http://www.dofactory.com/Patterns/Patterns.aspx), as did taking the time to
get my head around lists and enumerators. But some of these things may
actually slow down your learning curve to start with.

Regards,

- Paul

"Chris Asaipillai" <ch**************@btinternet.comwrote in message
news:46***********************@news.zen.co.uk...
Hi there

I have some questions for those experienced Visual Basic 6 programmers out
there
who have made the transition from VB6 to Vb.net.

How long did it take you to learn at least the basic elements of
VB.net....so that
you were confident to write a application from scratch. This wouldnt
necessarily
have to be a complex (ie 3 layer) or use COM/ Active X.

But say a database application connecting to SQL Server with a few
forms...

Did you find the process easy or were there a few pitfalls on the way?

I am a Visual Basic 6/VBA programmer with 6 years full lifecycle
development experience of building and maintaining applications.

My company plans for me to re-write some of the in house applications
but will send me on training courses....in order for me to translate the
aspects i know in VB6 into Vb.net

Many thanks
Chris Asaipillai

May 17 '07 #7

Let Microsoft give you some pointers:

http://msdn2.microsoft.com/en-us/vbrun/ms788236.aspx

Free Book - Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic
..NET
"Chris Asaipillai" <ch**************@btinternet.comwrote in message
news:46***********************@news.zen.co.uk...
Hi there

I have some questions for those experienced Visual Basic 6 programmers out
there
who have made the transition from VB6 to Vb.net.

How long did it take you to learn at least the basic elements of
VB.net....so that
you were confident to write a application from scratch. This wouldnt
necessarily
have to be a complex (ie 3 layer) or use COM/ Active X.

But say a database application connecting to SQL Server with a few
forms...
>
Did you find the process easy or were there a few pitfalls on the way?

I am a Visual Basic 6/VBA programmer with 6 years full lifecycle
development experience of building and maintaining applications.

My company plans for me to re-write some of the in house applications
but will send me on training courses....in order for me to translate the
aspects i know in VB6 into Vb.net

Many thanks
Chris Asaipillai


May 17 '07 #8
I made the switch from VB6 to VB.Net last year. The OO stuff was kind of
like algebra to me -- at first I didn't get it, and then one day it clicked
and it all made sense.

I found the book "Doing Objects in VB2005" by Deborah Kurata to be really
helpful. It explains and exemplifies the OO principles, and shows how to
set up a 3-layer app using business objects, and covers some of the new
stuff in Visual Studio (like code snippets and user settings, how to set up
SQLServer stuff from VS) along the way. As you work through the examples,
you end up with a completed application.

Another one I liked was Tim Patrick's "Start-to-Finish VB2005". It doesn't
really follow standard coding practices, but it's a cool application with
some neat UI examples. This book covers the basics of more topics than any
other book I found -- from variables and loops to XML, deployment,
licensing, internationalization, the whole enchilada. It's not detailed
information on each topic, but enough to get you started.

And I read Francesco Balena's book "VB2005: The Language". It points out
differences between VB6 and VB2005, and is very readable.

Hope this helps.
Robin S.
--------------------------
"Chris Asaipillai" <ch**************@btinternet.comwrote in message
news:46***********************@news.zen.co.uk...
Hi there

I have some questions for those experienced Visual Basic 6 programmers
out there
who have made the transition from VB6 to Vb.net.

How long did it take you to learn at least the basic elements of
VB.net....so that
you were confident to write a application from scratch. This wouldnt
necessarily
have to be a complex (ie 3 layer) or use COM/ Active X.

But say a database application connecting to SQL Server with a few
forms...

Did you find the process easy or were there a few pitfalls on the way?

I am a Visual Basic 6/VBA programmer with 6 years full lifecycle
development experience of building and maintaining applications.

My company plans for me to re-write some of the in house applications
but will send me on training courses....in order for me to translate the
aspects i know in VB6 into Vb.net

Many thanks
Chris Asaipillai

May 20 '07 #9

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

Similar topics

2
by: Joe Homshaw | last post by:
I'm looking for like minded Visual basic 6 and visual basic .net programmers in Brisbane to chat and or meet up or email. I have a serviced office in Brisbane and I also work in Sydney. Regards ...
34
by: John Timbers | last post by:
I'd like to purchase Visual C# .Net for learning purposes only since it's a lot cheaper than Visual Studio (note that I'm a very experienced C++ developer). Can someone simply clarify the basic...
8
by: scorpion53061 | last post by:
Hi, I am a vb.net guy......(I know boo hiss LOL) I was thinking of learning C# as well. Can I expect a hard road of it as far as a learning curve? As as side note, what made you choose...
2
by: Jeremy S. | last post by:
I know these questions can have no objective and definitive/correct answer - but I'm looking for some general insight, non specific as it may be. So, from those of you who have actually worked...
26
by: K.J.Williams | last post by:
Hello, A friend and I want to learn PHP but we have two totally different programming backgrounds. I have experience with procedural programming in C, and he has experience with Visual BASIC....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.