473,325 Members | 2,872 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,325 software developers and data experts.

Best case VB6 to VB.NET conversion

Hi everyone,
I'm just looking into this for my boss (and myself I suppose). What is the
current state of VB6 to VB.NET converters out there and what are they? I'm
trying to convince our company to convert its primary product over to .NET
but our primary project is pretty huge (many forms, lots of db work, lots of
CR9).

Any suggestions are helpful,
Thanks,
Kieran
Jul 21 '05 #1
4 17095
Kieran,
I only know of two VB6 to VB.NET converters.

The one from http://www.aivosto.com/.

And the one included with VS.NET. Which was written by
http://www.aivosto.com/.

Note: The one included in VS.NET 2003 has move features then the one
included with VS.NET 2002.

There is also a VB6 Code Advisor that will scan your VB6 projects making
suggestions on what to change in preparation to upgrading to VB.NET. This
tool can actually be used without upgrading...

http://msdn.microsoft.com/library/de...itruletool.asp

Hope this helps
Jay

"Kieran Benton" <ki**********@fastmail.fm> wrote in message
news:Ol*************@tk2msftngp13.phx.gbl...
Hi everyone,
I'm just looking into this for my boss (and myself I suppose). What is the
current state of VB6 to VB.NET converters out there and what are they? I'm
trying to convince our company to convert its primary product over to .NET
but our primary project is pretty huge (many forms, lots of db work, lots of CR9).

Any suggestions are helpful,
Thanks,
Kieran

Jul 21 '05 #2
Hi Kieran,

I'm sorry for the bad news but the upgrade wizard software isn't that
useful. The problem is that Windows Forms Controls and ADO.NET are too
different from ActiveX and Classic ADO. There is also the fact that VB.NET
is fully object oriented while Classic VB isn't. It has been my experience
that you will almost always be better off to rearchitect and redevelop an
application than to try to upgrade it using the wizard.

--
Rob Windsor
G6 Consulting
Toronto, Canada
"Kieran Benton" <ki**********@fastmail.fm> wrote in message
news:Ol*************@tk2msftngp13.phx.gbl...
Hi everyone,
I'm just looking into this for my boss (and myself I suppose). What is the
current state of VB6 to VB.NET converters out there and what are they? I'm
trying to convince our company to convert its primary product over to .NET
but our primary project is pretty huge (many forms, lots of db work, lots of CR9).

Any suggestions are helpful,
Thanks,
Kieran

Jul 21 '05 #3
Lol oh well :) I had a feeling someone was going to say that but was holding
out for hope that someone had performed a miracle! Thanks anyway Rob.

Kieran

"Rob Windsor" <rw******@NO.MORE.SPAM.bigfoot.com> wrote in message
news:OR**************@TK2MSFTNGP09.phx.gbl...
Hi Kieran,

I'm sorry for the bad news but the upgrade wizard software isn't that
useful. The problem is that Windows Forms Controls and ADO.NET are too
different from ActiveX and Classic ADO. There is also the fact that VB.NET
is fully object oriented while Classic VB isn't. It has been my experience
that you will almost always be better off to rearchitect and redevelop an
application than to try to upgrade it using the wizard.

--
Rob Windsor
G6 Consulting
Toronto, Canada
"Kieran Benton" <ki**********@fastmail.fm> wrote in message
news:Ol*************@tk2msftngp13.phx.gbl...
Hi everyone,
I'm just looking into this for my boss (and myself I suppose). What is the current state of VB6 to VB.NET converters out there and what are they? I'm trying to convince our company to convert its primary product over to ..NET but our primary project is pretty huge (many forms, lots of db work,
lots of
CR9).

Any suggestions are helpful,
Thanks,
Kieran


Jul 21 '05 #4
Kieran,
For most VB6 projects that I have seen I agree with Rob. ;-)

However there are a handful of VB6 project, I suspect more than most want to
admit, that can be upgraded!

There is a technique available to restructure code in a disciplined way
known as Refactoring http://www.refactoring.com that allows you to
"rearchitect & redevelop an application" from the code that the upgrade
wizard converted. I've used Refactoring on two rather large VB6 projects
that were upgraded to VB.NET, both projects have hundreds of classes. The
first was a highly procedural (read no classes) VB6 app, the second was
already OOP in VB6. The first still has a lot of vestiges of VB6 as it is
highly monolithic and that code does not need to be converted, while the
second you cannot tell it started its live as a VB6 app, this
transformation, via refactoring, was not done overnight!

How much effort I need with Refactoring is highly dependant on how "clean"
your VB6 code is. By clean I am referring to if you used OOP practices in
your VB6, to the best that VB6 allows.

The VB6 Code Advisor helps with semantical changes from VB6 to VB.NET.

Remember that the upgrade wizard will leave your classic ADO code in place,
it will continue to function. That it will convert most controls that have
..NET equivalents, the others it leaves as OCX, which will continue to
function. What I do is use refactoring to replace these. Maybe not right
away, I may wait a month...

Just a thought
Jay

"Kieran Benton" <ki**********@fastmail.fm> wrote in message
news:On**************@TK2MSFTNGP11.phx.gbl...
Lol oh well :) I had a feeling someone was going to say that but was holding out for hope that someone had performed a miracle! Thanks anyway Rob.

Kieran

"Rob Windsor" <rw******@NO.MORE.SPAM.bigfoot.com> wrote in message
news:OR**************@TK2MSFTNGP09.phx.gbl...
Hi Kieran,

I'm sorry for the bad news but the upgrade wizard software isn't that
useful. The problem is that Windows Forms Controls and ADO.NET are too
different from ActiveX and Classic ADO. There is also the fact that VB.NET
is fully object oriented while Classic VB isn't. It has been my experience that you will almost always be better off to rearchitect and redevelop an application than to try to upgrade it using the wizard.

--
Rob Windsor
G6 Consulting
Toronto, Canada
"Kieran Benton" <ki**********@fastmail.fm> wrote in message
news:Ol*************@tk2msftngp13.phx.gbl...
Hi everyone,
I'm just looking into this for my boss (and myself I suppose). What is

the current state of VB6 to VB.NET converters out there and what are they? I'm trying to convince our company to convert its primary product over to .NET but our primary project is pretty huge (many forms, lots of db work,

lots
of
CR9).

Any suggestions are helpful,
Thanks,
Kieran



Jul 21 '05 #5

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

Similar topics

0
by: Tumurbaatar S. | last post by:
Hi, I'm running MySQL 3.23.55 on WinXP and have some problem using non latin charset. I've added these 2 lines under group of my.ini: character-sets-dir = c:/mysql/share/charsets/...
5
by: Nils O. Selåsdal | last post by:
Is there some quick C++ way I can do something similar to string::find , but case insensitive ?
1
by: Jim Shank | last post by:
I am adding support to my application for Oracle 10g and using Enterprise Library Data Access Application Blocks and trying to determine the best way to convert the GUID's which are stored as...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
20
by: hagai26 | last post by:
I am looking for the best and efficient way to replace the first word in a str, like this: "aa to become" -> "/aa/ to become" I know I can use spilt and than join them but I can also use regular...
3
by: Robert Schuldenfrei | last post by:
Hi NG, I am looking for an opinion here. I am new to C# and SQL, being an old COBOL hand. I have started into a conversion of an old COBOL ERP system. I have a number of functions working now...
0
by: n33470 | last post by:
We have a web site that is being converted from the 1.1 format into 2.0. I've noticed that after the web project has been converted, the first time that the solution is opened in VS, all of the...
4
by: Klaus Jensen | last post by:
Hi I have been using VB.net for years. I have not had any practical experience with C#, but now I want to learn, to keep growing as a programmer. Can anybody recommend a good starter-book for...
19
by: Daniel Pitts | last post by:
I have std::vector<Base *bases; I'd like to do something like: std::for_each(bases.begin(), bases.end(), operator delete); Is it possible without writing an adapter? Is there a better way? Is...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.