vb6 conversion to .net

Miss leah
Miss leah used Ask the Experts™
on
we are going to migrate a vb6 project to vb.net or c#.net. I want to use a converter tool at least for the screen drawings. did anynoe try  Microsoft Visual Studio 2008 expressfor that purpose?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Development Manager/Developer
Commented:
if you have access to Visual Studio 2005 I believe. There is a migration tool where you open a VB6 project

You will still need to make some significant changes though

There are other 3rd party tools too
for example
https://www.mobilize.net/solution/vb-upgrade-companion
ste5anSenior Developer

Commented:
The .NET technologies are much more different than you may think. While there are converters, you need to invest some (a lot) time understanding these.

Imho it is better to start on a green field instead of using the old code-base. When done correctly, you'll get a better product in the same amount of time as a migration would last.
Éric MoreauSenior .Net Consultant
Top Expert 2016

Commented:
Converting from VB6 to .Net (either VB or C#) is really not a walk in the park!

I would try a tool like http://www.vbmigration.com but don't expect miracles. For example, if you are using an old Sheridan grid in your VB6 project, no tools will be able to do a proper conversion.

Also, I would stay away from .Net 2008, it is already 10 years old!
Kyle AbrahamsSenior .Net Developer

Commented:
Confirmed what GMGenious said.

I was on a project that did this a while back.

From VB6 -> Open in VS 2005.  It'll ask you to upgrade to .net 1.0
You can then re-open the project in a later version of visual studio, converting that to a later version of .net.

Always have a backup, and you'll need to go thru rigorous testing as things don't always line up (especially if you have custom controls in your vb6 app) but is IS doable that way.

The other approach is starting from the ground up which lends it way to refactorization of the code and using programmatic techniques correctly from the beginning, which others have already mentioned here.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial