What are the code changes and other activities required before migration?

Subject

Pre Migration Requirements

Applies to

Visual Basic Upgrade Companion Enterprise Edition, Visual Basic Upgrade Companion Developer Edition

Inquiry Description

Using the Upgrade Wizard included in Visual Studio required to prepare the code prior to performing the automated migration. Do the Visual Basic Upgrade Companion has this kind of requirements as well?

Troubleshooting/solution

Different enhancements and features in the latest versions of VBUC, especially version 3.0, has made the “Code preparation task” or “Premigration task” less time-consuming in a migration project. VBUC now implements during the automatic migration phase most of the recommendations of tools like the Code Advisor from Microsoft.

On the other hand, there are other activities that are always recommended prior to project start:

1. Prepare the migration environment. Prepare a physical or virtual machine with the VB6 development environment of the application. The idea is to make sure that all components are installed to fully compile the application.
2. Make sure that there are no missing files in the source application. This will allow the VBUC to find all references and generate the correct types and references in the .NET solution.
3. Code Cleanup. Some of the functionality of the application may no longer be used. Removing unused code will help you concentrate development efforts on the actual code that needs to be migrated. ArtinSoft recommends a thorough review of the application’s source code to remove all unused or unnecessary code before starting the migration.
4. Determine Source Code Baseline. Some customers may have customized versions of the Visual Basic 6.0 application to satisfy specific needs of different users. It is important to define a baseline of the application that will be migrated to .NET.

Submitted date

7/27/2009 12:00:00 AM


Related FAQs

None

Skip Navigation Links.
Expand ArtinSoft Visual Basic Upgrade Companion (VBUC)ArtinSoft Visual Basic Upgrade Companion (VBUC)
Expand VBUC Getting StartedVBUC Getting Started
Collapse Migration Knowledge BaseMigration Knowledge Base
Expand VBUC Errors, Warnings and IssuesVBUC Errors, Warnings and Issues
Collapse VBUC Frequently Asked QuestionsVBUC Frequently Asked Questions
Collapse General QuestionsGeneral Questions
Error 2869 during the VBUC installation
How effective is the Visual Basic Upgrade Companion at converting an application's front end?
Expand What controls does the Visual Basic Upgrade Companion support?What controls does the Visual Basic Upgrade Companion support?
Can the Visual Basic Upgrade Companion be customized?
How does the VBUC handle VB6 Collections?
How does the VBUC convert ADO to ADO.NET?
Visual Basic Upgrade Companion customization options
FAQ: What is the process to upgrade from VB5 to .Net?
ActiveX/User documents migration workaround using the VBUC
Property Page migration workaround using the VBUC
How to install the VBUC Developer Edition successfully
Is the Artinsoft.VB6.dll helper class library redistributable?
What are the code changes and other activities required before migration?
XSL operations and MSXML library migration
VBUC generated Visual Studio solution file version
Where is the source code for the support (helper) classes used by the VBUC?
How effective is the Visual Basic Upgrade Companion at converting an application's front end?
VBUC Developer Edition Offline Activation Process
What’s the difference between the License File and the Activation File
Do the VBUC migrate intrinsic VB6 functions and libraries?
Error : Retrieving the COM class factory for component with CLSID {11C67C12-105A-4F42-A5C8-CB9070F2855A} failed due to the following error: 80040154
Expand HOW TOHOW TO