VB6 to C# Modernization for an Insurance Administration Platform: 327 Files, 242K+ COM Calls Eliminated

50%

faster development cycles

An insurance administration provider’s VB6 platform spanned 327 files, 259 forms, 9,612 control instances, and 242,613 calls to external COM components, making it one of the most structurally complex VB6 modernization cases. Legacyleap used Gen AI to systematically eliminate COM dependencies, replace ADODB and legacy Office integrations with modern .NET equivalents, consolidate 5 EXEs and 10 DLLs into a streamlined environment, and build a custom automated UI testing framework. Outcome: 50% faster development cycles and a fully modernized, low-maintenance C# platform.

Results at a Glance

MetricResult
Development Speed50% faster development cycles
Files Migrated327 VB6 files successfully converted to C#
Forms Converted259 forms including MDI components
COM Calls Eliminated242,613 external COM component calls removed
Control Instances9,612 control instances rationalized
Consolidation5 EXEs + 10 DLLs consolidated into streamlined .NET

Engagement Snapshot

IndustryInsurance and Financial Services
LocationSouth Africa
Legacy StackVB6, ADODB, MSFlexGrid, MDI components, legacy Excel and Word integrations
Target StackC# / .NET with lightweight OO coding standards
Scale327 files, 259 forms, 9,612 control instances, 242,613 COM calls
Consolidation5 EXEs + 10 DLLs → streamlined .NET environment
Delivery ModelPhased incremental migration with Gen AI-powered dependency mapping

About the client:

The client is a major insurance administration provider offering integrated retirement, investment, life, and insurance solutions. Their core system, built on VB6 with a complex architecture of multiple executables, DLLs, and COM dependencies, had become a bottleneck limiting scalability, maintainability, and integration with modern technologies.

The client sought a structured modernization approach to migrate the entire VB6 platform to a fully integrated C# environment without losing any of the business logic embedded across 327 files and 242,613 COM interactions.

Challenge

The client’s VB6 insurance administration platform was one of the most structurally complex legacy systems Legacyleap has encountered, with five compounding constraints:

242,613 COM Component Calls Creating .NET Incompatibility

The system made 242,613 calls to external COM components. Every one of these calls represented a dependency that was incompatible with modern .NET frameworks and had to be systematically identified, mapped, and replaced. The sheer volume meant that manual elimination was not viable. It required automated analysis to even understand the full scope.

327 Files Across 259 Forms and Multiple MDI Components

The platform spanned 327 files, including 259 forms and multiple MDI (Multiple Document Interface) components. This scale made enhancements cumbersome, troubleshooting slow, and any modernization effort a massive undertaking in terms of surface area alone. Every file had to be analyzed, transformed, and validated individually.

9,612 Control Instances Causing Performance Constraints

Over 240 unique UI containers held 9,612 control instances across the platform. This density of controls created performance constraints. Slow rendering, excessive memory consumption, and UI responsiveness issues affected daily operations for insurance administration staff.

No Automated UI Testing Framework

The system had no automated UI testing capability. All functional testing was manual, which meant that regression coverage was incomplete, testing cycles were slow, and the risk of introducing defects during a migration of this scale was extremely high. For 327 files and 259 forms, manual testing alone could not provide adequate coverage

ADODB and Legacy Office Integration Dependencies

The system relied heavily on ADODB for data access and on legacy Excel and Word integrations for reporting and document generation. These dependencies had to be carefully replaced with modern .NET equivalents, not just removed, because the insurance administration workflows depended on the specific behavior of these integrations.

How Legacyleap Eliminated 242,000+ COM Dependencies Without Rebuilding From Scratch

Legacyleap executed a comprehensive, automation-driven modernization that transformed the entire VB6 platform into a scalable C# environment while preserving all business logic.

Phase 1: Gen AI-Powered Dependency Mapping and COM Analysis

Legacyleap used Gen AI to map the full dependency landscape across 327 files and 242,613 COM calls. This analysis identified every external COM component interaction, ADODB dependency, Office integration, and MDI relationship, creating a complete migration map that prioritized high-impact components for early transformation. Without this automated analysis, understanding the scope of 242,613 COM calls alone would have consumed months of manual effort.

Phase 2: Automated COM Elimination and Code Transformation

AI-assisted tools systematically replaced all 242,613 COM-based component calls with native .NET alternatives. ADODB was replaced with modern .NET data access patterns. MSFlexGrid controls were replaced with .NET equivalents. Gen AI models refactored and optimized legacy business logic throughout the transformation, ensuring functional parity at every step. The approach was elimination by replacement, not rebuilding from scratch.

Legacy Office Integration Replacement

The system’s reliance on legacy Excel and Word integrations was deeply embedded in insurance administration workflows — policy document generation, reporting, data exports, and bulk processing all depended on these integrations. 

Legacyleap replaced each Office integration with modern .NET equivalents that preserved the exact functionality insurance staff relied on. This was handled as a distinct workstream because the Office dependencies touched different parts of the architecture than the COM calls and required specialized replacement strategies for each integration type.

Phase 3: Architecture Consolidation

The migration consolidated 5 EXEs and 10 DLLs into a streamlined .NET environment. This consolidation eliminated the fragmented architecture that had made the legacy system difficult to maintain, deploy, and extend. The modernized architecture uses lightweight, object-oriented C# coding standards with extension methods for VB6 compatibility where required during the transition period.

Phase 4: Automated UI Testing Framework

The client’s most painful constraint was the complete absence of automated UI testing. Legacyleap built a custom automated testing solution enhanced with Gen AI-generated test scripts. This framework provided regression coverage across all 259 forms and 327 migrated files, something that manual QA could never achieve at this scale. The automated testing framework reduced functional testing time and ensured high reliability across the entire modernized platform. This capability did not exist before the engagement and now serves as a permanent asset for the client’s ongoing development.

Phase 5: Performance Optimization

With the 9,612 control instances rationalized and the COM overhead eliminated, the platform’s performance constraints were resolved. AI-driven performance analysis fine-tuned database queries and memory management, and the streamlined .NET architecture delivered improved execution speeds and reduced system overhead compared to the legacy VB6 environment.

Quantified Results

MetricBeforeAfterValidation Method
Development CyclesSlow — constrained by VB6 architecture and manual processes50% fasterDevelopment timeline comparison
COM Dependencies242,613 calls to external COM componentsZero legacy COM calls remainingCOM elimination verification
Files327 VB6 files including 259 forms and MDI componentsAll migrated to C#Migration completion audit
Control Instances9,612 instances causing performance constraintsRationalized in modern .NET UIPerformance benchmarking
Architecture5 EXEs + 10 DLLs, fragmentedConsolidated streamlined .NET environmentArchitecture review
UI TestingZero automated testing — all manualCustom Gen AI-powered automated testing frameworkTest coverage audit
Data AccessADODB with legacy Office integrationsModern .NET data access + Office replacementsIntegration validation
MaintainabilityHigh technical debt, VB6-specific constraintsLow-maintenance C# with OO standardsCode quality review
Details

Industry

Insurance & Financial Services

LOCATION

South Africa

Challenge

Legacy VB6 insurance platform with complex architecture, performance bottlenecks, and modernization barriers

Featured Services

Legacyleap

Why Legacyleap

The client partnered with Legacyleap for its expertise in VB6-to-.NET modernization. Using Gen AI for automation, code transformation, and a structured migration approach, Legacyleap ensured a seamless transition while preserving business logic integrity. This modernization positioned the client for future growth with a scalable, low-maintenance system.

Running a VB6 Insurance Administration System?

Running a VB6 insurance administration system with COM dependencies and no automated testing? Our platform eliminates both in a single phased engagement.

No sensitive data leaves your firewall.

Test Legacyleap for Free!

Running a VB6 Insurance Administration System?

Running a VB6 insurance administration system with COM dependencies and no automated testing? Our platform eliminates both in a single phased engagement.

What You'll Receive:

Legacyleap platform with code analysis, dependency visualization, and modernization summary.

Frequently Asked Questions

Didn't find what you were looking for?

The first step is automated analysis. At 242,613 COM calls, manual mapping is not viable. Legacyleap used Gen AI to analyze every COM interaction across the platform’s 327 files, identifying each external component dependency, its usage pattern, and its replacement path. AI-assisted tools then systematically replaced each COM call with a native .NET alternative, validating functional parity at every step. The approach is elimination by replacement: each COM dependency is swapped for a modern equivalent rather than removed and rebuilt.

Legacyleap addresses the testing gap as part of the modernization itself. For this engagement, the client had zero automated UI testing at the start. Legacyleap built a custom automated testing framework enhanced with Gen AI-generated test scripts that provided regression coverage across all 259 forms and 327 files. This framework was operational during the migration, not bolted on afterward, meaning every phase of the transformation was validated against automated tests. The framework remains as a permanent asset for the client’s ongoing development.

Timeline depends on the complexity of COM dependencies, the number of Office integrations, and the depth of business logic embedded across forms. For this engagement (327 files, 259 forms, 9,612 control instances, and 242,613 COM calls), Legacyleap’s Gen AI-powered approach delivered 50% faster development cycles compared to manual methods. The phased incremental migration ensured the client maintained operational continuity throughout. A $0 assessment is available to scope your specific platform.

Legacy Office integrations in insurance platforms are typically deeply embedded in policy document generation, reporting, data exports, and bulk processing workflows. Legacyleap replaces each integration with a modern .NET equivalent that preserves the exact functionality staff rely on. This is handled as a distinct workstream because Office dependencies touch different parts of the architecture than COM calls and require specialized replacement strategies per integration type. For this client, all ADODB, Excel, and Word dependencies were replaced without altering the workflows that insurance administration staff used daily.

Legacyleap preserves all existing business logic, security controls, and data handling patterns throughout the migration, ensuring that the client’s compliance posture is maintained from the legacy system to the modernized platform. The automated UI testing framework provides regression coverage that validates compliance-relevant functionality across every migrated form and module. For insurance-specific compliance requirements, the $0 assessment phase identifies which regulatory standards apply to your platform and builds compliance validation into the migration plan.

Technical Demo

Book a Technical Demo

Explore how Legacyleap’s Gen AI agents analyze, refactor, and modernize your legacy applications, at unparalleled velocity.

Watch how Legacyleap’s Gen AI agents modernize legacy apps ~50-70% faster

Want an Application Modernization Cost Estimate?

Get a detailed and personalized cost estimate based on your unique application portfolio and business goals.