InfoQ

News

VB6 to VB.NET Conversions: Still Not a Reality

Posted by Jonathan Allen on Aug 21, 2007 12:04 PM

Community
.NET
Topics
.NET Framework
Tags
VB 6 ,
Visual Basic.NET

Visual Basic 7, also known as VB.NET, was released in 2002. At that time a significant number of compatibility issues were identified. Many of those issues were not changes to the core language but rather missing libraries.

For example, at the time it was impossible to convert any VB application that had printing capabilities. Though the VB6 Printer object was quite primitive, and the PrintForm command downright trivial, neither were included in VB.NET. Even the line and shape controls, which are essentially a couple of properties and an OnPaint event, were missing.

It is now 2007 and Microsoft has finally released a Visual Basic 2005 PowerPack that includes these features. What's troubling is that there is no mention of including this in VB 9 or the .NET 3.5 framework. Nor is there any mention of integrating this into the VB6 to VB.NET migration wizard.

With practically all support for VB 6 in the process of being ended, it is imperative that applications be migrated to a platform with long-term viability. But with Microsoft only giving lip service to the migration path, the future looks bleak for the countless companies running on VB6 applications.

3 comments

Reply

different oppinion by Frank Zehlius Posted Aug 22, 2007 1:15 PM
Re: different oppinion by Jonathan Allen Posted Aug 22, 2007 6:08 PM
Re: different oppinion by George Jiang Posted Aug 22, 2007 8:42 PM
  1. Back to top

    different oppinion

    Aug 22, 2007 1:15 PM by Frank Zehlius

    I personally think that these libs shouldn't even be there.

    .NET is so different from VB6 that there is no way anything acceptable will come out of such a process.

    As a freelancer i have done "migration" to .NET since 2001 and I can tell you that
    it is a lot easier to rewrite everything than to try to migrate.

    Nearly nothing is done in a similar way in .NET than it was done in VB6.

    And if you stay in the mindset of a vb6 developer than you will miss the whole new world.

  2. Back to top

    Re: different oppinion

    Aug 22, 2007 6:08 PM by Jonathan Allen

    While I agree with you in spirit, there are a lot of companies that simply cannot afford a complete rewrite. The ability to port everthing and then upgrade the code at a slower pace is the only way they can handle the situation, other than remaining on VB6.

  3. Back to top

    Re: different oppinion

    Aug 22, 2007 8:42 PM by George Jiang

    How can you "upgrade" those .NET code converted from VB6 by tools (aka machine generated code)? Re-write.

    It is re-write at once or re-write gradually. But if you cannot afford to re-write at once and want to re-write gradually, why would you convert? For maintemance? Will it be easier to maintain the original VB6 code than maintaining the generated VB.NET code from VB6?

Exclusive Content

Book Except and Interview : Aptana RadRails, An IDE for Rails Development

Aptana RadRails: An IDE for Rails Development by Javier Ramírez discusses the latest Aptana RadRails IDE, a development environment for creating Ruby on Rails applications.

Fast Bytecodes for Funny Languages

Cliff Click discusses how to optimize generated bytecode for running on the JVM. Click analyzes and reports on several JVM languages and shows several places where they could increase performance.

Scott Ambler On Agile’s Present and Future

Scott Ambler, Practice Lead for Agile Development at IBM, speaks on the current status of the Agile community and practices having a look at the perspective of the Agile’s future.

Manager's Introduction to Test-Driven Development

Dave Nicolette and Karl Scotland try to introduce non-technical managers to one of the most popular Agile development techniques: Test-Driven Development (TDD).

Structured Event Streaming with Smooks

Smooks is best known for its transformation capabilities, but in this article Tom Fennelly describes how you can also use it for structured event streaming.

How to Work With Business Leaders to Manage Architectural Change

Successful architectures evolve over time to meet changing business requirements. Luke Hohmann presents how to collaborate with key members of your business to manage architectural changes.

Colors and the UI

In this article, Dr. Tobias Komischke explains how colors used in a GUI can influence our interaction with a computer and offers advice on using the appropriate colors for the interface.

Building your next service with the Atom Publishing Protocol

In his presentation, recorded at QCon San Francisco, MuleSource architect Dan Diephouse explores ways to use the Atom Publishing Protocol (AtomPub) when building services in a RESTful way.