Skip to content

Mobilize.Net Collection of Information about Migrating from VB6

Notifications You must be signed in to change notification settings

MobilizeNet/VBMigration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 

Repository files navigation

VBMigration

VBUC

What to see some samples ?

We are sure that you will like to see what the VBUC can do for you.

VBUC transforms desktop apps to .NET and web

Unlike a rewrite, VBUC moves existing back-end logic to the new platform, keeping proven and debugged logic and processes intact and dramatically reducing the total defects to be resolved following the migration.

There are several drivers for a VB to .NET migration:

Integrate Windows, Web, Office and Mobile solutions Boost system performance Ease deployment Improve the maintenance of an application Increase developer productivity Consolidate your company's valuable software assets Avoid obsolescence of outdated software support for VB 6 ended on April 8th, 2008 . Maintain competitive advantage

Some more interestings links with Information about Migrating from VB6 to .NET or .NET Core.

Older versions of VB

Upgrading Applications Written in Earlier versions of Visual Basic for example VB4 or VB5

ASP Migration

The VBUC can also help you to modernize your Classic ASP WebSite.

Whenever you're trying to convert a VB6 or Classic ASP application to .NET with the Visual Basic Upgrade Companion it is recommended that you do so in an environment where the source application can be built and executed. This will ensure all the required references are correctly registered in that environment. Sometimes, however, VBUC will still show some errors in the "Resolve References" ....

Moving from VB6 to WinForms

An overview of the migrated code after upgrading from VB6 to Windows Forms

Migrating VB6 applications that integrated with Office

This article provides a lot of details on how to handle project references. In particular it provides some guidance for a VB6 application that was using the EXCEL APIs

Context Sensitive Help

How to use Context Sensitive help files in Windows Forms

Apartment Threading

In VB6 public variables defined in standard (.bas) modules aren’t really “global variables”. These public variables are scoped at the apartment level

VBControlExtender

In VB6, you need VBControlExtender object for dynamically adding a control to the Controls collection using the Add method

FixedLengthString and Windows API and COM

A post with some information about how the VBUC handles fixed length strings and windows apis

Some examples on calling DLLs when moving from VB6 to .NET

Binary Compatibility: In VB6 when you have an ActiveX Library it was very important to use the BinaryCompatibility setting to make sure that your applications did not break after a change.

Exposing C# Classes thru Interop

One of those subtle details is that the tlbexp tool (this is the tool that generates the .tlb for a .NET assembly) generates a prefix for enum elements.

Crystal Reports

Migrating VB6 OLE Container

Quick replacement for the OLE Container Control that you had in VB6

VB6 Migration of Property Pages

Migrating Property Pages

Implementing Property Pages in VB.NET or C#

Windows Service in VB6 and how to upgrade it

Creating a Windows Service in VB6

How to handle Internationalization once you move to .NET

A list of some things that you should consider:

Upgraded Stubs

When a library a library has some classes, properties, methods or events that aren't already supported an Upgrade Stub will be generated. An Upgrade Stub is a "mock" class.

public class MSXML2_XMLHTTP30
{
   public string getresponseText()
   {
      UpgradeHelpers.Helpers.NotUpgradedHelper.NotifyNotUpgradedElement("MSXML2.XMLHTTP30.responseText");
   return "";
   }
   public void open(string bstrMethod, string bstrUrl, object varAsync, object bstrUser, object bstrPassword)
   {
      UpgradeHelpers.Helpers.NotUpgradedHelper.NotifyNotUpgradedElement("MSXML2.XMLHTTP30.open");
   }
   public void send(object varBody)
   {
      UpgradeHelpers.Helpers.NotUpgradedHelper.NotifyNotUpgradedElement("MSXML2.XMLHTTP30.send");
   }
}

https://www.mobilize.net/blog/vbuc-upgrade-stubs

Videos

VBUC Clients Testimonials