Migrating to VB .NET

So you have a lot of VB applications that you're running in your enterprise, and now you want to migrate them to VB.NET. Well, there are several things that you should do. This tip, excerpted from InformIT, talks about the roadmap to migration, and discusses the pre-migration assessment in detail.

Migration of any Visual Basic 6.0 application to Visual Basic .NET requires the following major steps:

  • Perform an assessment based on project selection guidelines
  • Perform changes based on pre-migration recommendations (covered in detail later in this chapter)
  • With the help of the upgrade wizard, upgrade the Visual Basic 6.0 application to Visual Basic .NET
  • Perform changes based on post-migration recommendations (covered in detail in Chapter 4)

Before starting the actual migration process, it is necessary for a developer or project manager to assess the application under consideration. The objective of this phase is to understand the extent of changes required for migration and come up with an appropriate project plan for the migration.

Considering the nature of the application and the amount of changes to be made in the Visual Basic 6.0 application, it can be classified in one of the following three categories:

  1. Applications with the following features are considered simple and can be migrated easily:
    • Dynamic-link libraries (DLLs)
    • Application with only Forms or MDI Forms
  2. Applications with the following features can be considered of medium complexity and can be migrated with changes:
    • Data binding using ActiveX Data Objects (ADO)
    • Graphics
    • Menus
    • Windows API
    • User controls
  3. Applications that require extensive code changes can be regarded as advanced applications:
    • ActiveX Dynamic HTML (DHTML) applications
    • Active X documents
    • Legacy one-tier Microsoft Access database with DAO or Remote Data Objects (RDO) data binding
    • Dynamic Data Exchange (DDE)
    • Object Linking and Embedding (OLE)

Once the Visual Basic 6.0 application has been classified as simple, medium, or advanced, efforts and schedules can be planned for migrating the application. Once the decision to migrate the application is made, the premigration changes are performed in the Visual Basic 6.0 application.

To read the entire book chapter from which this tip is excerpted, click over to InformIT. No registration required. No muss, no fuss. Just good info.

This was first published in August 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.