Extending Visual Basic Legacy Application Without Migration

Category
Legacy Application Migration
Author
Rupesh Kumar

Many of the classic Visual Basic 6 application are not ready to jump on migration to .Net world so in this situation any enhancement or upgradation to these application is like a nightmare to fulfill business requirement.

COM interoperability features provided by .Net framework work as a remedy in this situation without changing or upgrading the existing application. Complete cost in terms of both resources and time of a full rewrite of the application can be prohibited. Enhanced UI Interop user controls can be developed in .Net and can be used in VB6 form.

Component object model (COM) interop is one of the interoperability mechanisms that the .Net Common language runtime (CLR) offer. This enable to interact the unmanaged code to managed code.

Some Business Challenges of Legacy Migration

  • Complexity of the environment and dependency on file server based system.
  • Lack of budget to start migration from scratch.
  • Business is used to with classic software.
  • Dearth of VB6 developer to optimize and understand the code.
  • No visibility of further business growth to invest in migration.

Benefits of Leveraging .Net Code in VB6 Legacy Application

  • Need to accommodate new features and business demand without writing VB6 code.
  • Make reusable component both class library and UI controls.
  • Easy and faster development leverage visual studio editor features.
  • More scalable and managed code driven by .Net framework benefit.
  • Well architecture loosely coupled service oriented code.
Comments
  1. Marvelous information, this option opens us to a lot of possibilities, there are many applications written in VB6. Now rewriting an entire application to VB.NET is a time consuming and risky task. However, with the release of Microsoft Interop Toolkit, we have the option of partial migration. We can call a web service, create Forms, Controls and Libraries in VB.NET and glue them with the VB6 application using the Microsoft Interop Toolkit.

  2. Spectacular views about the Legacy Migration which is very beneficial to those migrating to .NET.
    Excellent explanation of the migration challenges.

  3. Nice article, Through this we can emphasize our search for clients who working on legacy technologies and want to interact with real time advanced libraries and services. These new enhancement and add-on will improve application features and performance without migrating to advanced languages.

Leave a Reply

Your email address will not be published. Required fields are marked *