Solved

Resource for Converting from Visual Basic 6.0 to Visual Studio 2005

Posted on 2007-11-14
5
365 Views
Last Modified: 2008-02-01
Hi,

I just converted two small projects from Visual Basic 6.0 to Visual Studio 2005.  After resolving the 300 upgrade warnings, my project is running just like before.  However, I am interested in updating the conventions I use in programming.  Is there a good resource that compares Visual Basic 6.0 to Visual Studio 2005 and provides the "newer" methods.  For example, is there a better way to connect to data sources than ADO with Visual Studio?  

Thanks
0
Comment
Question by:tlchavet
5 Comments
 
LVL 14

Assisted Solution

by:Matti
Matti earned 100 total points
Comment Utility
Hi!

ADO .NET, there is a sample:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=5854&lngWId=10

If you use old ADO it needs interop dll for it, this latest user framework.

Matti
0
 
LVL 48

Accepted Solution

by:
jpaulino earned 250 total points
Comment Utility
You can go to MSDN webpage and you will find videos, webcast, etc
http://msdn2.microsoft.com/en-us/vs2005/aa700853.aspx

or download this free books
Introducing Microsoft Visual Basic 2005 for Developers
http://msdn2.microsoft.com/pt-br/vbrun/ms788235.aspx

Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET
http://msdn2.microsoft.com/pt-br/vbrun/ms788236.aspx
0
 
LVL 1

Author Comment

by:tlchavet
Comment Utility
Is there a good reference book out there on Visual Studio?
0
 
LVL 1

Author Comment

by:tlchavet
Comment Utility
Thanks a bunch for the information!
0
 
LVL 85

Expert Comment

by:Mike Tomlinson
Comment Utility
"I am interested in updating the conventions I use in programming."

Hi tlchavet,

I would take it to a whole other level.  Try not to focus on simply what is the "equivalent" syntax, or what library do we use instead of the old one from VB6.  Instead, to really leverage the power of the VB.Net you need to change your entire methodology!  You must learn to think in terms of TRUE object oriented programming.  Though it is sometimes possible to convert old code and make it work as it did before...many times if that same app was developed from the ground up in .Net it would have been designed completely differently because different technologies were available.  VB6 was only a "pseudo" object oriented language, and as such, forced us into doing things in ways that don't always work well in .Net.

Try to find some VB.Net books that focus on designing with OOP in mind.  Unfortunately I don't have any to reccomend as most of my experience is from the "self taught" camp.  =\

~IM
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now