Migrating from VB6 to VB .NET for ArcGIS 10


Purpose
This sample provides all of the source code for migrating a VB6 customization to VB .NET. It corresponds directly to the walkthrough topic of the same name, Migrating VB6 to VB.NET for ArcGIS 10.

How to use

See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Follow the directions in the Walkthrough, Migrating from VB6 to VB .NET for ArcGIS 10.

VB6 Contains the VB6 project that the walkthrough migrates.
VBNet_UpgradeRaw_2008 Contains the output from migrating the VB6 project to VB .NET using Microsoft's Visual Basic Upgrade Wizard, outlined in the walkthrough in the section "Performing the raw conversion from VB6 to VB .NET."
VBNet_Equivalency_2008 Contains the output from updating the converted project to be functionally equivalent to the original VB6 project, outlined in the walkthrough in the section "Creating a VB .NET functional equivalent project."
VBNet_Standards_2008 Contains the output of updating the project in the previous folder so that it uses VB .NET standards, outlined in the walkthrough in the section "Improving the VB2008 project to conform to .NET standards."
VBNet_BaseClass_2008 Once the VB .NET project is converted, made equivalent, and updated to VB .NET standards, the developer can further enhance it by taking advantage of VB .NET developer tools and programming standards for ArcObjects developers. One of these enhancements is to have the code use the ESRI base classes. This folder contains the code rewritten using the ESRI base classes available to .NET developers.
VBNet_AddIn_2008 Once the VB .NET project is converted, made equivalent, and updated to VB .NET standards, the developer can further enhance it by taking advantage of VB .NET developer tools and programming standards for ArcObjects developers. One of these enhancements is to have the code use the ESRI add-ins introduced with ArcGIS 10. This folder contains the code rewritten as an add-in.
Download the VB.NET files

Download the files for all languages

See Also:

Walkthrough: Migrating VB6 to VB.NET for ArcGIS 10
Migrating from VB6 to VB.NET
General steps for migrating from VB6 to VB.NET




Development licensing Deployment licensing
ArcGIS for Desktop Basic ArcGIS for Desktop Basic
ArcGIS for Desktop Standard ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced ArcGIS for Desktop Advanced
Engine Developer Kit Engine