Solved

moving from vb6 to .net

Posted on 2014-07-28
4
258 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 45

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

746 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

8 Experts available now in Live!

Get 1:1 Help Now