Solved

moving from vb6 to .net

Posted on 2014-07-28
4
259 Views
Last Modified: 2014-08-31
I am exploring my options for moving my vb6 applications to vb.net in order to move my application to the cloud.

please help with any information you may have regarding this. Getting my program to install on the various operating systems has proved to be a very difficult task.
Thank you
0
Comment
Question by:Mdpool
4 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 40225891
It might not be what you expected, but after 7 years of working in VB6, followed by 12 in VB.NET, as well as contacts with the 4000+ programmers who had training with me in one or the other or both, I can only give you the following advice.

Forget almost everything you knew about VB6.

Learn to work with VB.NET, it is a lots more different from VB6 than it looks at first sight just by looking at the syntax. Programmers who have a background in Java jump right into VB.NET, but programmers who have a background in VB6 typically have a harder time. Add another step if you plan on going to the cloud.

Rewrite your applications in VB.NET. Be sure not to think of using the converter. The result is a mess that nobody who know .NET would never write, so is not a good way to learn about .NET. The result is also a mess to maintain, with usually less performance than what you had in VB6.

You might not like what I suggest, but it is the only good way to go if you are serious, specially if you are a professional.

Programming nowadays a lot more than declaring constants, variables, subs and functions. It is more about interacting with the operating system, between operating systems, with the cloud that is not a hard disk, with the 10000+ classes in the .NET framework compared to the 60 classes or so in VB6. Even a simple Byte variable has methods and properties now. Security is everywhere and is a pain. Your programs cannot even write in Program Files if your users are not administrators. If you were still in VB6, you just jumped 15 years. You have some catching up to do.

If you have problems getting your program to install, its because VB6 was not made for todays operating systems, and .NET was not made for yesterday's operating systems. Things have changed a lot between the 90's and the new century. Old paradigms rarely work anymore.

Do you know of anybody who would watch Breaking Bad in black and white on his HD TV? If you know one, this is probably the only guy who would like to use an application on Windows 8.
0
 

Author Comment

by:Mdpool
ID: 40228243
Sounds like great advice. Thanks!
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40295265
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 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

21 Experts available now in Live!

Get 1:1 Help Now