Blog
Skip to end of metadata
Go to start of metadata

gmBasic: Upgrade Engine

gmBasic is a code transformation tool that 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.89, includes several enhancements:

  • Improves the general ability to produce accurate, build-complete .NET (C# and VB.NET) systems from ASP sites (most recently making enhancements needed to upgrade a large e-mail marketing system with over 1000 pages and almost 300 #includes.)
  • Improves the general ability to produce accurate, build-complete .NET (C# and VB.NET) systems from VB6 applications (most recently making enhancements needed to upgrade a structural engineering application (130K LOC) and a reinsurance application (120K LOC).)
  • Adds Refactor\Fixtype@status=dynamic to allow translating with a strong type but authoring the code to use type dynamic
  • Adds Registry@type=MigFile to allow associating a Migration File with a COM interface file
  • Improves handling pages with deeply nested and inter-dependent #include files in ASP
  • Improves handling user defined VBScript class named "Collection" in ASP
  • Improves handling const in ASP
  • Improves handling arrays used in foreach
  • Improves type inference when variable is declared and initialized on same line of code
  • Improves handling to intrinsic RegExp API for ASP
  • Improves handling parameters to VB6's file Open statement
  • Improves handling parameters to DrawMode property
  • Improves handling parameters to Scale method
  • Improves handling the Call keyword

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 Peek Reporting mode for inspecting content surrounding a search result
  • Improves Search reporting when using a Report file as a search source
  • Improves System Configuration Search to include application templates folder as a search source
  • Improves integration of file edit operation with Search results
  • Improves integration of Side-by-Side viewer with Search results
  • Improves display of .NET files in Side-by-Side viewer when one source file becomes many .NET files
  • Improves translation log report details for warning messages
  • Improves Reference Report by reporting declaring form/control containing control references
  • Improves license checks in ScriptRules files
  • Improves accuracy of Members Report for ASP

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 integration and management of complex upgrade rules in gmStudio. This API was updated to reflect the latest product improvements and conventions.

  • Improves Reference Report by reporting declaring form/control containing control references
  • Corrects Reference Report to avoid exception when a reference occurs in a very long source line

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.

  • Improves CodeScanList.txt: additional entries in preset list of Potential VB6 Issues

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.