473,698 Members | 2,242 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 17122
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**********@f astmail.fm> wrote in message
news:Ol******** *****@tk2msftng p13.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**********@f astmail.fm> wrote in message
news:Ol******** *****@tk2msftng p13.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.MO RE.SPAM.bigfoot .com> wrote in message
news:OR******** ******@TK2MSFTN GP09.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**********@f astmail.fm> wrote in message
news:Ol******** *****@tk2msftng p13.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
"rearchitec t & 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**********@f astmail.fm> wrote in message
news:On******** ******@TK2MSFTN GP11.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.MO RE.SPAM.bigfoot .com> wrote in message
news:OR******** ******@TK2MSFTN GP09.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**********@f astmail.fm> wrote in message
news:Ol******** *****@tk2msftng p13.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
2262
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/ default-character-set=cp1251 Then restarted server and created a simple database
5
16571
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
7756
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 RAW(16) in Oracle (Byte Arrays) back to GUID's in my data layer. My best guess is a conversion method that the DataSet goes through before leaving the data access layer. Here is my code: Private Sub Raw16ToGuid(ByRef dataSet As DataSet) Dim...
136
9379
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 code was littered with document.all and eval, for example, and I wanted to create a practical list of best practices that they could easily put to use. The above URL is version 1.0 (draft) that resulted. IMO, it is not a replacement for the FAQ,...
20
11313
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 expressions and I sure there is a lot ways, but I need realy efficient one
3
2497
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 and it is time to decide how best to deal with the issues of concurrency. The old COBOL programs used record locking to prevent concurrency errors and that logic is already "on the shelf." Most C# books and articles I have seen use the default...
0
1393
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 aspx and ascx filenames are changed to lowercase. The filenames are not being changed during the conversion process. After conversion completes, the filenames remain unchanged. However, the first time that the solution is opened in VS2005, the...
4
1374
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 me? Thanks in advance Klaus
19
10748
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 there an existing adapter? Thanks, Daniel.
0
8676
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9164
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8898
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7734
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6524
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2006
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.