Blog
Skip to end of metadata
Go to start of metadata

gmBasic: Upgrade Engine

gmBasic is a code transformation tool that reads, interprets, and rewrites VB6/ASP/COM systems to one of the .NET languages (C# or VB.NET). Based on feedback from our clients and migration projects in the field, we are continuously improving gmBasic so as to help users more easily produce cleaner and more correct results. This distribution, Version 30.95, includes several enhancements:

  • Adds support for dimensioned types as collection values in the GenericCollections Migration extension
  • Adds support for migrating a boolean to an enum
  • Adds support for extending an API by adding an enumeration at the library level
  • Adds support for using Refactor/Remove with Enums and Consts symbols
  • Improves default interface description files to migrate COM short to .NET integer
  • Improves support for changing the number of arguments when migrating a method
  • Corrects issue with handling arguments containing '#' character
  • Improves handling whitespace and complex markup when upgrading ASP
  • Improves handling name collisions between the Form and a method within the same Form
  • Improves %nP Pattern Token replacement conventions
  • Improves handling to ControlArray.Ubound operations
  • Improves handling conditional expressions comparing Date and Int(Date)
  • Improves handling division expressions using Twips quantities

gmStudio: Upgrade Solution Development Environment

Powered by gmBasic, gmStudio is a development environment for creating high-performance, custom VB6/ASP/COM to .NET upgrade solutions. We are continuously adding functionality to gmStudio and making it easier to use. This distribution includes several enhancements:

  • Adds support for using a gmProj-specific Project List file when generating a Visual Studio Solution file
  • Adds support for specifying and using folders to organize projects when generating a Visual Studio Solution file
  • Adds Generate Solution File option to Tools Menu
  • Adds Edit Solution File Project List File option to Tools Menu
  • Adds support for passing Project Type (VB6 or ASP) into script templates
  • Adds support for PostAuthor elements in ScriptRules file
  • Improves Member Location reported in Source Scan for matches in the General code block
  • Improves displaying Functional Test Log in Information Panel
  • Improves reporting REPLACEFILE messages in Translation Log Report
  • Improves section headers in the All Logs Report
  • Improves searching Migration Set Report results
  • Improves adding multiple VBPs from a VBG file or a simple text file listing of VBP paths
  • Improves Search Results reporting to allow reporting regular expression group matching anywhere in the report record using %rec%[n] place holder in Search Report Template
  • Improves Search list results handling of "not found" case
  • Improves ScriptRules logging in the actual translation script
  • Improves the GUI Scan report with support for Designer file data
  • Improves the Side-by-Side Viewer with support for Designer file data
  • Improves References Report to include coclass/class used as parameter
  • Improves reporting Properties on References Report and Definitions Report

gmslAPI: a .NET API for Developing Advanced Upgrade Solutions

Powered by gmBasic, gmslAPI is a .NET API for automating the gmBasic upgrade engine and accessing the semantic models produced by our unique linguistic compilation technology. gmslAPI also includes classes to facilitate the management of complex upgrade rules and integration with the gmStudio IDE. This API was updated to reflect the latest product improvements and conventions.

  • Improves References report to include coclass/class used as parameter
  • Improves reporting properties on References Report and Definitions Report

Sample Upgrade Rules

gmStudio ships with a collection of sample upgrade rules that can be used to add custom features to your upgrade solution. These XML documents and gmSL scripts are distributed as source that you may modify to fit your unique requirements. The sample rules were updated to reflect the latest product improvements and conventions. See also additions and changes in gmStudio Extensions Repository.

  • Improves Windows Common Controls to WinForms Rules
  • Implements ListControls.gmsl without using DataStore classes
  • Improves Functional Test batch processing sample
  • Improves Instructions in the Search Report Template sample
  • Adds more controls to StubControlBaseClass.xml

Sample Upgrade Solutions

Great Migrations publishes a number of sample VB6/ASP upgrade solutions to illustrate the capabilities of gmStudio. The sample upgrade solutions were updated to reflect the latest product improvements and conventions.

  • Adds ListView Columns Sorting example to FileExplorer sample
  • Adds logic to run Analytics Definitions Reports to sample batch script