Skip to content

Case file 11

VB6 to VB.NET: when Gen 2 abandons Gen 1's users

In 2002 Microsoft replaced Visual Basic 6 with a language that kept the name and could not compile the old code. The vendor moved on. The old code could not follow, and the VB6 runtime is still supported in Windows today.

Slide: a heap of Visual Basic 6 code from 1998, a one-way conversion wizard, and only a little code on VB.NET, February 13, 2002. Old code stayed behind.

A Gen 2 can be good software, built for sound reasons, and still fail the people who depended on Gen 1. This is the clearest case of it.

Gen 1

Visual Basic 1.0 was introduced in 1991. The final release, Visual Basic 6.0, came out in 1998.

VB6 programs do not stand alone. They run on a runtime library that ships inside Windows, and they are built from components that plug into that runtime. A VB6 application is tied to that foundation as much as to the language.

The audience was large. In a press release dated January 28, 1998, the year VB6 shipped, Microsoft counted "more than 3.2 million developers using the Visual Basic language." The release does not say how that number was measured, so treat it as the vendor's own figure.

The decision

Microsoft decided that the foundation had to change. In its own later words, the company concluded that "managed code based on the .NET Framework is the future strategic direction for development tools."

Visual Studio .NET was released on February 13, 2002. It introduced the .NET Framework, a new language called C#, and a new Visual Basic built on .NET Framework 1.0. As one summary puts it, "Visual Basic changed drastically to fit the new framework, and the new version was called Visual Basic .NET."

The name carried over. The compatibility did not. Visual Basic .NET is not backward compatible with Visual Basic 6.0. Moving to the current Visual Basic meant moving to a different language on a different platform.

Microsoft says the design was debated with its developer community in 1999 and 2000, and that the feedback changed the design significantly. The break itself stayed.

What happened

The bridge was a wizard. Opening a VB6 project in Visual Basic .NET started the Upgrade Wizard. Microsoft's documentation describes it plainly: it "creates a new project, copies each file from the original project into the new project and modifies it as necessary, and generates a report detailing what was done and what you need to do to finish the upgrade."

The last clause is the important one. Later documentation says that in most cases "there is additional work that needs to be done," and sorts that work into categories. UPGRADE_ISSUE items stop the project from compiling. UPGRADE_TODO items compile and then fail at run time. UPGRADE_WARNING items might fail at run time. A better wizard shipped with the 2003 release, but fully automated conversion was not possible for most projects.

Developers gave it another name. The Jargon File records "Visual Fred" as a "pejorative hackerism for VB.NET." By its account, a former Microsoft employee suggested that VB.NET "should have a completely different name," and the entry adds: "This rapidly caught on." The point of the joke was serious. The product was sold as the next Visual Basic, and to the people holding VB6 code it was not.

Support ran down on schedule. Mainstream support for Visual Basic 6.0 ended on March 31, 2005. Shortly before that date, a group of Microsoft MVPs, the company's own recognized community experts, signed a petition about VB6. It grew quickly. On March 8, 2005, InformationWeek reported that it had been "signed by more than 130 software developers." Six days later Computerworld counted "More than 2,000 IT professionals and developers," including over 200 MVPs. The petition asked Microsoft to keep supporting the core language and to "further develop VB6 and the Visual Basic for Applications companion tool."

The people asking were not a fringe. In the same Computerworld report, Gartner analyst Mark Driver estimated that "between 30% and 40% of Visual Basic developers still use VB6," three years after its replacement shipped.

Computerworld reported that Microsoft had no plans to "reopen a very old code base." The company replied to the petitioners in an open letter on March 17, 2005. The reply defended the move to .NET, conceded that "migration is a difficult task for some types of code," and described the end of mainstream support as "a switch from free to paid support."

Extended support ended in March 2008. As of April 8, 2008, the VB6 development environment was no longer supported at all. By then Microsoft had dropped ".NET" from the new product's name, calling the 2005 version simply Visual Basic 2005.

The runtime never left. That same 2005 reply said the VB6 runtime was slated to ship in the next version of Windows. It has shipped in every version since. Microsoft's current support statement lists Windows 11 and Windows Server 2025, and sets the goal as "It Just Works" compatibility for existing VB6 applications. The commitment has no end date of its own: the runtime "will be supported for the support lifetime of Windows versions" that include it. The runtime is still 32-bit only, and support is limited to "serious regressions and critical security issues."

The same page says that there is "no supported method to create or maintain Visual Basic 6 applications." Gen 1 can run. Officially, it cannot be changed.

What went wrong

  • The break was total. Language, libraries and platform all changed in one release. Compare the six facts in rewrite or refactor: the code that had to move belonged to customers, not to the vendor.
  • The migration tool produced a to-do list, not a working program. A converter that gets most of the way leaves the hardest part to the customer.
  • Keeping the name raised the expectation. Calling Gen 2 "Visual Basic" told customers it was an upgrade. They measured it as one.
  • Gen 1 was frozen, not retired. Ending development while keeping the runtime gave customers a reason to stay and no way to move forward.

The Python 3 migration made the same kind of break and recovered, because the core team later built bridges back toward Gen 1. For VB6 the bridge stayed a one-time conversion wizard.

The verdict

Judged as a platform, .NET worked, and this file does not dispute that.

Judged as a migration, this one failed. The people who had invested most in Gen 1 were handed a conversion project with no business benefit attached. The evidence that it was not finished is in Microsoft's support policy: more than two decades after VB.NET shipped, the company still tests and supports a 1998 runtime in its newest operating systems, while it "strongly recommends" that customers replace those applications.

There is a last turn. In March 2020 Microsoft announced: "Going forward, we do not plan to evolve Visual Basic as a language." The Gen 2 language is now maintained rather than developed, too.

What to take from it

  • Your users' code is part of your system. If Gen 2 cannot run it, you are not asking them to upgrade. You are asking them to rewrite, and they will make that decision on their own schedule.
  • A converter that leaves manual work is a quote for a project. Measure it on real customer code before you promise a migration path.
  • A new name is honest. If Gen 2 is a different product, call it one.
  • Freezing Gen 1 is not the same as ending it. If you will have to keep it running anyway, plan and budget for that from the first day.

If other people's code depends on your Gen 1, weigh that before anything else in Should we rewrite it?

Sources

  1. Microsoft - Support Statement for Visual Basic 6.0 - runtime support, the supported Windows versions and the April 8, 2008 end of IDE support
  2. Microsoft - An Open Letter to the Community (March 17, 2005) - Microsoft's reply to the Visual Basic 6 petition
  3. Carol Sliwa - Update: Users push Microsoft to extend VB6 support (Computerworld, March 14, 2005) - the petition's signature counts and requests, Microsoft's answer and the Gartner estimate
  4. Antone Gonsalves - Developers Petition Microsoft To Continue Support For VB6 (InformationWeek, March 8, 2005) - the early signature count
  5. Microsoft - Microsoft Visual Basic Advances RAD Industry Leadership Position (press release, January 28, 1998) - Microsoft's own count of Visual Basic developers
  6. Microsoft - Upgrade Wizard (Visual Studio .NET 2003 documentation)
  7. Microsoft - Completing the Upgrading Process (Visual Studio 2008 documentation) - the categories of work left after the wizard runs
  8. Microsoft .NET Blog - Visual Basic support planned for .NET 5.0 (March 11, 2020)
  9. Visual Fred - The Jargon File
  10. Visual Basic (classic) - Wikipedia - release years and the mainstream and extended support dates
  11. Visual Basic (.NET) - Wikipedia - the .NET Framework 1.0 base, the 2003 wizard and the 2005 name change
  12. Visual Studio - Wikipedia - the Visual Studio .NET release date

Last updated November 28, 2026.