VB6 to C# Upgrade Samples. VB6 to VB.NET Upgrade Samples. COM API replacements.
This section presents the sample upgrade solutions that are available for you to download, review, and reproduce. The samples are less than 10K LOC each so they can be processed with the gmStudio Trial or Promotional Edition.
The gmStudio samples are available as zip files containing source codes and migration workspace files. They are installed independently of gmStudio. Links to the samples zip files are listed on the Downloads page.
In this section, [INSTALLDIR] refers to the folder where you unzipped each sample.
A sampling of the features of gmStudio are demonstrated by upgrading small VB6/ASP applications:
RDO Deep Migration Sample: a small sample showing how the code relating to an API can be migrated in a somewhat dramatic manner.
vb3DDefine: a stand-alone graphics/mathematics code illustrating the upgrading of advanced forms, graphics, and complex math logic
Calculator: a stand-alone calculator code illustrating the upgrading of control arrays and copy/paste editing through the clipboard
StringEvaluator: a stand-alone arithmetic and function evaluator code illustrating Win32 API replacements, complex logic, and resource management
You may run any one of the sample projects listed above, say ScanTool_csh.gmproj, as follows:
The nature of the migrated code will be as specified by the Migration Project settings -- primarily by the directives in the different Translation Scripts associated with each migration unit in the project.
The samples are typical VB6/ASP systems that depend on COM APIs and controls. In order to run these samples on a machine, the necessary COM components must be installed and registered on that machine. The same requirement exists for reproducing the translations from scratch. If you do not have the COM components on your test machine, you may still examine the sample results which we generated in our test environment and packaged with each sample. Note that the generated results do not use COM Interop and do not depend on COM.
If you have any problems and questions regarding the samples, please schedule a live demo and Q&A session with us, please schedule on our consultation calendar.
We created gmStudio to be a comprehensive migration process development platform, not just a run-once converter. There is much more to see and do:
|Table of Contents|