Skip to main content
Published in Engineering Insights

What to Do With a VB6 or Classic ASP Application

What to Do With a VB6 or Classic ASP Application
Table of contents
  1. Is VB6 still supported?
  2. Is Classic ASP still supported?
  3. What does the VBScript deprecation change?
  4. Three options compared
  5. How to decide between them
  6. How to move it piece by piece
  7. What it costs
  8. How The Gnar Company handles old apps
  9. Mistakes to avoid

Find out what Microsoft supports for your Windows version, then choose between keeping the application, moving it piece by piece, or replacing it all at once. Keep it if it still works, and build new screens on top if only the screens are the problem. Rebuild only if the old system can't be saved or its vendor is forcing you off it, and if it has to go, move it piece by piece.

This guide is for a CIO or COO at a mid-size manufacturer or distributor who runs a 15 to 20 year old VB6 or Classic ASP application. The developer who wrote it has left or is about to. It still runs, so nobody has funded the move. The post covers what Microsoft says it still supports, what the VBScript deprecation changes, and how to pick an option. It matters because a decision made from the real support dates is easier to defend than one made after something fails.

The Gnar Company rebuilds 20-year-old custom software: it reads the old code, maps its data and how your team uses it, and works out the rules nobody wrote down. Its legacy application modernization page describes two ways in, and this post uses that page as its yardstick.

VB6 and Classic ASP are different things. A VB6 application is written in the Visual Basic 6.0 language and built with its tool, which Microsoft stopped supporting in 2008. Classic ASP is a way of building a web application that runs on a Windows server under IIS. Microsoft ties their support to different things, so the first two sections take them one at a time.

Is VB6 still supported?#

Microsoft supports the Visual Basic 6.0 runtime for the support lifetime of Windows versions. The tool used to change the application, the Visual Basic 6.0 IDE, is no longer supported. Microsoft has not supported it since April 8, 2008. Both halves matter.

Start with the runtime. Microsoft's support statement for Visual Basic 6.0 says it strongly encourages you to migrate your applications off Visual Basic 6. It also says its goal is "It Just Works" compatibility for pre-existing Visual Basic 6.0 applications on supported Windows versions. It says the runtime will be supported for the support lifetime of Windows versions. So the Windows version under your application sets the clock.

Then read the limit. Microsoft says the support bar is limited to serious regressions and critical security issues for existing applications. Microsoft's VB6 support announcement adds that VB6 runtime files are 32-bit only, and on 64-bit Windows they are supported only in the WOW emulation environment. So on 64-bit Windows, Microsoft supports the VB6 runtime only as 32-bit files in the WOW emulation environment, with support limited to serious regressions and critical security issues. That support covers the runtime. The controls and components your application loads need their own check.

Now the tool. Microsoft says the Visual Basic 6.0 IDE and Visual Studio 6.0 IDE have not been supported since April 8, 2008. It says there is no supported method to create or maintain Visual Basic 6 applications, and that it strongly recommends you replace your applications with modern technology. For VB6 migration, the same announcement points to Microsoft's guide on upgrading Visual Basic 6.0 applications to Visual Basic .NET and to its list of upgrade and migration partners.

One more line is easy to miss. Microsoft lists some runtime files and third-party controls as not supported on Windows. If your VB6 application loads third party components, such as ActiveX controls or COM components, you need a list of them.

Is Classic ASP still supported?#

Microsoft supports Classic ASP pages in all supported versions of IIS, so the support date for your ASP application is the support lifecycle of the host operating system. Microsoft's page on Active Server Pages support in Windows says ASP pages are currently supported in all supported versions of IIS. It adds that IIS is included in Windows, so both ASP and IIS support lifetimes are tied to the support lifecycle of the host operating system.

That gives you a short job. Find the Windows version your ASP application runs on, then look up that version's IIS end date. Then check whether your ASP pages use VBScript, which the next section covers. Microsoft's IIS lifecycle page says IIS follows the lifecycle of Windows. It lists these end dates:

  • IIS 10 on Windows Server 2016 ends January 13, 2027.
  • IIS 10 on Windows Server 2019 ends January 10, 2029.
  • IIS 7.5 on Windows Server 2008 R2 ended January 15, 2020.

The date belongs to the server and its version of IIS. Gnar's post on the risks of running legacy systems shows how to score a legacy system on six risks, including security patches and who knows the code.

What does the VBScript deprecation change?#

The VBScript deprecation means code that depends on VBScript will need a plan: Microsoft says it is deprecating VBScript in three phases. Phase 1 is tied to Windows 11, version 24H2. The default change comes around 2027, and the final removal covers future versions of Windows, with no date given. Microsoft's Windows IT Pro Blog post, VBScript deprecation: Timelines and next steps, was published on May 22, 2024. It says Microsoft announced the gradual deprecation in October 2023, then lays out the phases:

  1. VBScript FODs, Microsoft's optional on-demand components, are pre-installed in all Windows 11, version 24H2 and on by default.
  2. Around 2027, the VBScript FODs will no longer be enabled by default.
  3. VBScript will be retired and eliminated from future versions of Windows. Microsoft says its dynamic link libraries (.dll files) will be removed, and that as a result projects that rely on VBScript will stop functioning.

For replacements, Microsoft suggests PowerShell and JavaScript.

The post is about VBScript. It does not tell you what your own code uses, so your team has to check. Look through the source code for scripts, scheduled jobs and page code that calls VBScript. If the answer is yes, write down which Windows version runs that code, and check how Microsoft's changes apply to that Windows version before you set dates. Microsoft names one date: around 2027, the VBScript FODs will no longer be enabled by default. It gives no date for the final removal. For a Classic ASP application, the dated support line is still the host Windows and IIS date above. If the answer is no, this section changes nothing for you. If nobody can answer, treat that as a finding.

Three options compared#

You have three options: keep the application running, move it piece by piece, or replace it all at once. The table uses the rule on Gnar's legacy page. It says to rebuild only if the old system can't be saved or its vendor is forcing you off it. If it still works and the screens are the problem, Gnar builds new screens on top of it.

Option What it means When it fits What it asks of you
Keep it running Leave the application where it is. If the screens are the problem, build new screens on top. The old system still works and can be saved. New screens fit when its data can be reached and the screens are the problem. Check the support dates for your Windows version and confirm that someone besides the original developer can read the code.
Move it piece by piece Build a new system beside the old one. The old one continues to run until each new piece is ready. The old system can't be saved, or its vendor is forcing you off it. Map screens, data and rules first. Decide the order of the pieces.
Replace it all at once Build a new system that does the same job, then switch everything over to it on one day. The old system can't be saved, or its vendor is forcing you off it. A full list of what the old system does, including the rules nobody wrote down.

The rule is the same for the second and third rows. Both replace the old system, and in both the old application can keep running while the new one is built. The difference is the switch. In the second row, work moves over one piece at a time, and the old application keeps running until each piece is ready, so orders, quotes and invoices keep flowing. In the third row, everything moves over together. On Gnar's page, "rebuild" means the second row: Gnar rebuilds one piece at a time.

Switching everything at once has a known weak spot. Martin Fowler, in his write-up of the strangler fig pattern, describes the simple-sounding plan of building a new system that does exactly what the old one does. He says he and his colleagues have seen that plan "go down in flames most of the time". He writes that replacing a serious IT system takes a long time, the users can't wait that long for new capabilities, and it is often hard to figure out the details of existing behavior. That is why the second row exists.

How to decide between them#

Decide with a checklist that covers the signs the application shows, the support dates under it, who can still change the code, and what it depends on.

  • Signs from Gnar's legacy page. Do staff keep spreadsheets next to the application? Do new hires take months to learn it? Is there data nobody can pull without a developer? Is a vendor dropping support? Does every change feel risky?
  • Windows version dates. Which Windows version runs the VB6 application, or which Windows Server runs the ASP application? Write down the end date Microsoft lists for it, including the IIS date.
  • VBScript. Does any part of the application depend on it? Write down yes, no or unknown.
  • Who can change the code. Can someone besides the original developer explain what the source code does? Can anyone build and test a change?
  • Third-party controls, ActiveX controls and COM components. Is there a list, and is every item still available from its maker?
  • Business logic. Where do the rules live: in the code, in a database, in a person's head?
  • The data. Can you export it today without a developer?
  • The vendor. Is the vendor forcing you off, or has the person who built it gone?

Now read your answers against the rule. Two answers need a closer look before you pick a path: nobody can build and test a change, or a control on your list is no longer available from its maker. Find out whether someone can restore the build or replace that control. If nobody can, that points toward an old system that can't be saved. If the application works and can be saved, keep it, and build new screens on top if the screens are the problem. If the old system can't be saved, or its vendor is forcing you off it, choose between the second and third rows of the table: one piece at a time, or everything at once. Gnar's post on whether to modernize in place or rebuild walks through the same decision, and its post on replatform, refactor or rebuild explains the words vendors will use.

How to move it piece by piece#

Moving piece by piece means building the new system beside the old one and switching over one part at a time while the old application keeps running. Fowler's name for it is the strangler fig, taken from vines he saw in Queensland in 2001 that grow on a host tree and slowly replace it. He says the approach begins with small additions built on top of the legacy code base but separate from it, and bits of behavior then move from the legacy system into the new code base.

Fowler says software should ideally consist of clear components that can be replaced independently, and that legacy systems rarely exhibit this. So there is considerable work in figuring out how to break one into manageable pieces, which means finding seams where the system can be split. For a VB6 or Classic ASP application, that means deciding what a piece is. It might be one screen group, such as order entry, or one report, or one part of the data.

Gnar's page describes its own method in the same shape. For an aging platform, the team maps the screens, the data and the rules, rebuilds them, then moves the data over piece by piece. The old app keeps running until each new piece is ready. If the old platform needs its own expert, Gnar works with one. The page says Gnar rebuilds one piece at a time, starting with the part that will make the biggest difference, and that each stage has its own fixed price.

What it costs#

Gnar publishes three prices for this work: Discovery, the build and Maintain.

Item Published figure What it covers
Gnar Discovery and Design $20,000 for four weeks, or $30,000 for six weeks A fixed-price planning step, separate from the free code read. Gnar maps your system, your data and how your team works, and you get a step-by-step plan and a fixed price for the build. You keep the plan even if you don't build with Gnar.
Build Builds usually run $150K to $300K+ The build priced in Discovery. Where the work is done in stages, each stage has its own fixed price.
Maintain From $1,000 a month Keeping the new system running after launch, with the monthly price agreed ahead of time. It is optional.

If your application still works and only needs new screens, the Discovery step is where Gnar would tell you to keep it and build new screens on top. The legacy page also says that if your own engineers have the time and know what to build, Gnar will tell you to do it yourselves.

The cost of keeping the application lives in your own records. Gnar's post on what legacy modernization costs covers what drives the price of the other side.

There is a plan for the old system on a shelf somewhere. Somebody wrote it. Nothing happened. Discovery gives you a step-by-step plan and a fixed price for the build. Details are on the Discovery page.

How The Gnar Company handles old apps#

The Gnar Company reads the old code, maps its data and how your team uses it, and works out the rules nobody wrote down. That is how its legacy page describes the work on 20-year-old custom software. The page does not name VB6 or Classic ASP, so this post does not claim Gnar has moved a VB6 or Classic ASP application. What it describes is the method and the results below.

The first step is a code read. After a 30-minute call with Pete, senior engineers read the code at no fee and tell you, in plain English, whether to keep it, fix it or rebuild it. Gnar's codebase audits page says it signs a non-disclosure agreement first, and that the read can come back saying your codebase is in reasonable shape. You can use the result with Gnar or without.

The audit can go either way, and Gnar's page shows both results:

  • AARP Foundation. The audit said rebuild on newer technology. Gnar rebuilt 14 tools on React and Ruby on Rails, with 40% fewer clicks to complete an application, on average. The tools kept running while they were rebuilt. See the AARP Foundation case study.
  • First Line Technology. The audit said keep the system and build a new app. The new app was built on the system First Line already had, and it reached 4X the number of users and 8,000+ app users.

The two audits led to different answers. Gnar's legacy page also shows an old system rebuilt: the DPPC Abuser Registry was rebuilt in Ruby on Rails on AWS, and 500+ organizations must check the registry. Discovery is a separate, paid planning step from the free code read. The Discovery page lays out the four and six week options.

Mistakes to avoid#

Check your plan against these six mistakes before you sign anything.

  • Treating "the runtime is supported" as "the application is safe." Microsoft limits the VB6 runtime support bar to serious regressions and critical security issues for existing applications.
  • Assuming VBScript is not your problem. Microsoft says projects that rely on VBScript will stop functioning once it is removed. Check whether your application depends on it.
  • Leaving third-party controls off the inventory. Microsoft lists some runtime files and third-party controls as not supported on Windows. List every ActiveX control and COM component before you scope any work.
  • Planning a straight copy. It is often hard to figure out the details of existing behavior, as Fowler says. Write down the business logic first, including the rules nobody wrote down.
  • Rebuilding when the screens are the problem. Rebuild only if the old system can't be saved or its vendor is forcing you off it.
  • Switching everything on one day. Move piece by piece, so the old application keeps running until each new piece is ready.

The first action is small. Write down your Windows version, your IIS version, whether the application uses VBScript, and who can read the code.

Frequently asked questions

Is VB6 still supported by Microsoft?

Partly. Microsoft supports the Visual Basic 6.0 runtime for the support lifetime of Windows versions, limited to serious regressions and critical security issues for existing applications. The IDE has been unsupported since April 8, 2008, and Microsoft strongly recommends replacing VB6 applications with modern technology.

Is Classic ASP still supported?

Microsoft says ASP pages are supported in all supported versions of IIS, and that ASP and IIS support lifetimes are tied to the support lifecycle of the host operating system. So the date that matters is the one for the Windows version you run. IIS 10 on Windows Server 2016 ends January 13, 2027, IIS 10 on Windows Server 2019 ends January 10, 2029, and IIS 7.5 on Windows Server 2008 R2 ended January 15, 2020.

Does the VBScript deprecation affect my application?

It affects any application that depends on VBScript, so check that first. Microsoft says deprecation will occur in three phases, the VBScript FODs will no longer be enabled by default around 2027, and VBScript will later be retired and eliminated from future versions of Windows. Microsoft says projects that rely on it will stop functioning.

Should I keep, move piece by piece or rebuild?

The Gnar Company's rule is to rebuild only if the old system can't be saved or its vendor is forcing you off it. If it still works and the screens are the problem, Gnar builds new screens on top of it. If the old system has to go, Gnar moves it piece by piece, so the old application keeps running until each piece is ready. Switching everything over at once is the other way to replace it.

What does it cost to replace a VB6 or Classic ASP application?

The Gnar Company publishes three figures. Gnar Discovery and Design costs $20,000 for four weeks or $30,000 for six weeks, builds usually run $150K to $300K+, and Maintain starts at $1,000 a month. Your own build price comes out of the Discovery step.

How do you replace an old application without stopping the business?

You build the new system beside the old one and move one piece at a time. Martin Fowler calls this the strangler fig approach and says it builds transitional architecture so the new and legacy systems can coexist. The Gnar Company moves data over piece by piece while the old app keeps running.

Where to go from here

  • Your US company does over $10M a year in revenue, and its order system is holding you back.

    Talk to Pete Whiting
  • You want AI to save your company money. With Compass, if we don't find at least $350,000 a year in savings, you don't pay.

    See how Compass works
  • Everyone else: get our newest posts by email.

    Get the newsletter

Stay In The Loop

Never miss an update. Get the latest blogs, webinars, and expert insights straight to your inbox from The Gnar.