Old software disc cases, a floppy disk and a serial cable beside a modern closed laptop on a wooden desk
    VB6 Migration Services

    VB6 application migration services

    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.

    Module by moduleParallel runningTested against today's behaviorWeb or desktop on .NET

    Trusted by global innovators

    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium
    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium
    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium
    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium

    Migration without a stop

    How do we move our VB6 application to a modern platform without stopping the business?

    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

    What goes into the VB6 inventory?

    Everything the application is made of and depends on, listed before any new code is written.

    Code

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

    Components

    • COM DLLs and ActiveX controls (OCX)
    • Third-party controls and their vendors
    • Windows API calls and registry use

    Data

    • ADO and DAO connections
    • SQL in code, stored procedures and Access or Jet files
    • Files read and written on shares

    Outputs

    • Crystal Reports and printed forms
    • Exports to Excel and other systems
    • Scheduled jobs and batch runs

    Should the new version be a web app or a desktop app?

    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.

    What happens to our COM and ActiveX controls?

    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.

    Can an automated VB6 to .NET converter do the job?

    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.

    What about our Crystal Reports?

    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

    What does the new application look like?

    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.

    ComponentPurposeTypical tech
    Front endThe screens users work in, rebuilt from the VB6 formsWeb app in Blazor, React or Angular, or a desktop app in WinForms or WPF
    Business layer and APIThe rules taken out of form code, shared by every front endASP.NET Core Web API on a current .NET LTS release
    Data accessReplaces ADO and DAO calls scattered through formsEntity Framework Core or Dapper, parameterized queries
    DatabaseKeeps your data, moved off Access or Jet files where neededSQL Server, Azure SQL or the database you already run
    ReportsReplaces Crystal Reports and printed formsA reporting library or service with PDF and Excel export
    Interop bridgeLets old and new share components during the parallel runCOM interop, temporary and removed module by module
    TestsRecords today's behavior and checks the new code against itCharacterization 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

    Where VB6 migrations go wrong

    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

    How does a VB6 migration run?

    Six steps, with the VB6 app in use until the last one.

    1. Scoping call

      We look at the application, who uses it, what it connects to and what worries you most about changing it.

    2. Inventory and recording

      Forms, modules, controls, data access and reports are listed, and today's behavior is captured as tests.

    3. Target and first module

      We agree web or desktop, the stack and hosting, and pick a first module with clear value and low risk.

    4. Build module by module

      Each module is rebuilt on .NET against the shared database and tested against the recorded behavior.

    5. Parallel run

      Users run the new module beside the old one until results match on real work.

    6. Switch and retire

      Users move module by module, and the VB6 app is retired once nothing depends on it.

    Systems a VB6 app connects to

    The connections that have to keep working through the migration.

    Databases

    SQL Server, Oracle, Access or Jet files reached through ADO, DAO or ODBC.

    COM components

    In-house DLLs and third-party OCX controls registered on each PC.

    Hardware

    Barcode scanners, scales, label printers and serial or USB devices.

    Office automation

    Excel and Word files created or read through COM automation.

    Files and batch jobs

    Import and export files on shares, and jobs run by Windows Task Scheduler.

    Users and access

    Logins held in the app's own tables, moved to single sign-on with roles.

    Cost drivers

    What drives the cost of a VB6 migration?

    We do not publish prices. These are the drivers we size after the inventory.

    Size and structure

    How many forms and modules, and how much logic sits in form code.

    Components

    How many COM and ActiveX controls, and whether their vendors still exist.

    Data

    The database, any Access or Jet files, and data cleanup needed on the way.

    Reports

    How many Crystal Reports and printed forms must be rebuilt and compared.

    Target

    Web, desktop or both, and the hosting and sign-in rules.

    Source code

    Whether the full VB6 source is available and builds today.

    Delivery model

    The engagement model

    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.

    1.

    Assessment

    Inventory, recorded behavior and a migration plan with the first module named.

    Assess
    2.

    Fixed-scope first module

    One module rebuilt, run in parallel and switched, so the approach is proven on your app.

    Build
    3.

    Dedicated team

    The remaining modules, with your developers joining as they learn the new code.

    Scale

    Who it is for

    Who do we migrate VB6 applications for?

    Businesses whose VB6 app still does important work every day.

    Software vendors with a VB6 product

    A product customers still buy, that needs a modern version without losing them.

    Manufacturers

    Shop floor apps tied to scanners, scales, printers and machines.

    Distribution and logistics

    Order entry, warehouse and dispatch apps built up over many years.

    Finance and insurance back offices

    Calculation-heavy apps where every result must match the old one.

    Teams that lost the original developer

    Apps nobody wants to touch, with the source code and little else.

    Facts and sources

    What does Microsoft say about VB6 support?

    Microsoft's support statement for Visual Basic 6.0 and its .NET support policy, each linked to the source.

    Platforms and standards

    Platforms and standards for the new version

    .NET LTSASP.NET CoreWinForms and WPFSQL Server and Azure SQLOWASP ASVSOpenID Connect

    Frequently asked questions

    Migrate it one module at a time while the VB6 app stays in use. Inventory the forms, modules, controls, data access and reports, record today's behavior as tests, rebuild each module on .NET against the same database, run old and new side by side and switch users only when the results match.