Code
- Forms and their event code
- Standard and class modules
- Business rules hidden in button handlers

The Visual Basic 6 application that runs orders, production or claims still works, but fewer people can change it and every Windows upgrade feels like a risk. Agnotic Technologies moves it to .NET in steps, so your team keeps working on the old version until each part of the new one is proven.
Trusted by global innovators
























Migration without a stop
Move a VB6 application to a modern platform one piece at a time, while the old version keeps running. VB6 application migration with Agnotic Technologies starts with an inventory of every form, module, COM and ActiveX dependency, database call and Crystal Reports file. We record how the application behaves today, then rebuild it on .NET, as a web app or a Windows desktop app, module by module against the same data. Old and new run in parallel, outputs are compared on real cases, and each group of users switches only when its module matches. At no point does the business depend on software that is half finished.
This is the strangler pattern: new modules take over one workflow at a time until the VB6 code has nothing left to do. It is the same approach our application modernization services use for other legacy code, applied to the specific problems of VB6.
Inventory
Everything the application is made of and depends on, listed before any new code is written.
Choose a web app when users work from several places, the app needs many concurrent users or IT wants nothing installed on PCs. Choose a .NET desktop app, in WinForms or WPF, when the app drives scanners, scales, label printers or other hardware, works offline or handles large local files.
The choice can differ by module. A shared API and database let a web front office and a desktop shop floor station run the same business rules.
Each control is replaced by a .NET component that does the same job, or kept behind a wrapper for a short time while the module that uses it is rebuilt. Microsoft does not support third-party OCX and ActiveX controls, so a control whose vendor has gone is the first risk we plan for.
Controls that only draw a grid or a date picker are simple to replace. Controls that talk to hardware or hold business logic get their own test cases before anything changes.
Partly. A converter translates syntax, so it can speed up large modules with plain logic, but it carries the old design across with it: global state, error handling with On Error Resume Next and data access mixed into forms.
We use conversion where it saves time and rebuild where the design is the problem. Every converted module goes through the same tests as hand-written code, because converted code that compiles can still behave differently.
Each report is listed with who uses it, then rebuilt in the reporting tool of the new app or kept on a supported report runtime where that makes sense. Before the switch, every report is run on the same data in the old and new versions and the results are compared.
Reports that nobody has opened in a long time are often retired instead of moved. That decision is made with the people who own them.
Target architecture
The components of a typical VB6 replacement on .NET. The exact stack follows your hosting rules and the skills of the team that will own it.
| Component | Purpose | Typical tech |
|---|---|---|
| Front end | The screens users work in, rebuilt from the VB6 forms | Web app in Blazor, React or Angular, or a desktop app in WinForms or WPF |
| Business layer and API | The rules taken out of form code, shared by every front end | ASP.NET Core Web API on a current .NET LTS release |
| Data access | Replaces ADO and DAO calls scattered through forms | Entity Framework Core or Dapper, parameterized queries |
| Database | Keeps your data, moved off Access or Jet files where needed | SQL Server, Azure SQL or the database you already run |
| Reports | Replaces Crystal Reports and printed forms | A reporting library or service with PDF and Excel export |
| Interop bridge | Lets old and new share components during the parallel run | COM interop, temporary and removed module by module |
| Tests | Records today's behavior and checks the new code against it | Characterization tests, automated UI and API tests |
The VB6 app and the new modules share one database during the migration, so data never has to be synced between two copies.
Failure points
Problems we plan for from the first week.
Challenge
Business rules live in form event code that nobody documented.
Agnotic approach
Each form is read and its rules written down as tests before it is rebuilt.
Challenge
On Error Resume Next hides failures the business has learned to live with.
Agnotic approach
Known silent failures are listed and the new code handles them on purpose.
Challenge
A third-party control has no vendor and no source code.
Agnotic approach
Its behavior is captured in tests and it is replaced first, before it blocks a Windows upgrade.
Challenge
32-bit components break when everything else moves to 64-bit.
Agnotic approach
Each 32-bit dependency is listed and replaced, or isolated until its module is rebuilt.
Challenge
Variant types and implicit conversions give different results in .NET.
Agnotic approach
Calculations, dates and rounding are compared on real data during the parallel run.
Challenge
Printed forms and reports shift layout in the new version.
Agnotic approach
Every report is compared page by page with its owner before the switch.
The move
Six steps, with the VB6 app in use until the last one.
We look at the application, who uses it, what it connects to and what worries you most about changing it.
Forms, modules, controls, data access and reports are listed, and today's behavior is captured as tests.
We agree web or desktop, the stack and hosting, and pick a first module with clear value and low risk.
Each module is rebuilt on .NET against the shared database and tested against the recorded behavior.
Users run the new module beside the old one until results match on real work.
Users move module by module, and the VB6 app is retired once nothing depends on it.
The connections that have to keep working through the migration.
SQL Server, Oracle, Access or Jet files reached through ADO, DAO or ODBC.
In-house DLLs and third-party OCX controls registered on each PC.
Barcode scanners, scales, label printers and serial or USB devices.
Excel and Word files created or read through COM automation.
Import and export files on shares, and jobs run by Windows Task Scheduler.
Logins held in the app's own tables, moved to single sign-on with roles.
Cost drivers
We do not publish prices. These are the drivers we size after the inventory.
How many forms and modules, and how much logic sits in form code.
How many COM and ActiveX controls, and whether their vendors still exist.
The database, any Access or Jet files, and data cleanup needed on the way.
How many Crystal Reports and printed forms must be rebuilt and compared.
Web, desktop or both, and the hosting and sign-in rules.
Whether the full VB6 source is available and builds today.
Scope is fixed per stage. Changes found during the inventory or a parallel run go into a change log and are agreed with you before they are built.
Inventory, recorded behavior and a migration plan with the first module named.
AssessOne module rebuilt, run in parallel and switched, so the approach is proven on your app.
BuildThe remaining modules, with your developers joining as they learn the new code.
ScaleWho it is for
Businesses whose VB6 app still does important work every day.
A product customers still buy, that needs a modern version without losing them.
Shop floor apps tied to scanners, scales, printers and machines.
Order entry, warehouse and dispatch apps built up over many years.
Calculation-heavy apps where every result must match the old one.
Apps nobody wants to touch, with the source code and little else.
Microsoft's support statement for Visual Basic 6.0 and its .NET support policy, each linked to the source.
Microsoft's support statement for Visual Basic 6.0 says the Visual Basic 6.0 IDE has not been supported since April 8, 2008, and that there is no supported method to create or maintain Visual Basic 6 applications.
Source: Microsoft Learn, Support Statement for Visual Basic 6.0 on WindowsThe same statement says the Visual Basic 6.0 runtime is supported for the support lifetime of Windows versions, with the support bar limited to serious regressions and critical security issues for existing applications.
Source: Microsoft Learn, Support Statement for Visual Basic 6.0 on WindowsMicrosoft states that Visual Basic 6.0 runtime files are 32-bit only, and that on 64-bit Windows, VB6 applications and runtime components are supported only in the WOW emulation environment.
Source: Microsoft Learn, Support Statement for Visual Basic 6.0 on WindowsMicrosoft's VB6 support statement says Microsoft is unable to provide support for third-party components such as OCX and ActiveX controls, and directs customers to the original control vendor.
Source: Microsoft Learn, Support Statement for Visual Basic 6.0 on WindowsMicrosoft's .NET support policy gives Long Term Support (LTS) releases free support and patches for three years, and Standard Term Support (STS) releases for two years.
Source: Microsoft .NET and .NET Core support policyPlatforms and standards