Skip to content

Blog

gmStudio Release News: January 2025 Updates

gmBasic is a computer language processor that reads, interprets, and rewrites VB6/ASP/COM systems for the .NET platform (using C# or http://VB.NET ). Based on feedback from our clients and real-world modernization projects, we continuously improve gmBasic so it will help developers more easily produce cleaner, more correct upgrade results. Most recently, this work includes general improvements needed to automatically produce a build-complete C# version of an enterprise-level financial management system for security and alarm companies. This large desktop application is comprised of 185 inter-related VBP files referencing 1.2M total LOC in 2,696 code files (including 682 ActiveReports Designers) and using 72 third-party COM libraries. The distribution,Version 50.10, has several important enhancements.

  • Adds Registry type=BaseType to alter how VB6 intrinsic types are recognized
  • Adds Registry type=LibType to facilitate migrating a COM API types are recognized
  • Improves migration of custom designer files (*.dsr) such as ActiveReports
  • Improves recognizing the type of ControlArray elements
  • Improves indenting of translations modified by Fix@FileFilter
  • Improves the migration of App object operations and the App type
  • Improved consistency of the inferred array parameters and corresponding arguments
  • Improves handling string literals containing control characters
  • Improves resolution of late-bound object/default property references
  • Improves relational operations between Twips and strings
  • Improves handling ListBox.Item and ComboBox.ItemData
  • Improves migrating vbEmpty to null
  • Improves migrating assignments of a class instance to an implemented interface
  • Improves Refactor/Rename to allow renaming a VBP’s internal name
  • Improves recognition of classes requiring IEnumerable support
  • Improves logic to provide an enum entry from a quantity that may be null
  • Improves Generic Collections to make adjustment for zero-based indexing when index quantity is a enum
  • Improves behavior of Fix/Replace with MatchBlock=on
  • Improves conventions for Array initialization and assignments
  • Improves OutputPath conventions in .NET project template
  • Improves DefineConstants conventions in .NET project template
  • Improves ByRef optimizations for array parameters
  • Improves migration of foreach with ControlArrays
  • Improves type inference to retain weak typing when variable is used with an IsNull operation
  • Improves handling of status=“delete” to suppress unwanted operations from the translations.

gmStudio: Upgrade Solution Development Environment

Section titled “gmStudio: Upgrade Solution Development Environment”

Powered by gmBasic, gmStudio is a platform for analyzing code and developing 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 FinalEdit element to ScriptRules to be inserted after the Output@Status=Close element. Typically this is used for top-level Fix@FileFilter operations to make changes to the translation outputs after they are written to disk.
  • Adds LogTranTime setting to application configuration to suppress or allow logging the total elapsed translation time in translation logs
  • Improves user experience for running and viewing Metalang Audit Report
  • Improves Task Filter Dialog resize behavior
  • Improves Translation Status checking to report WARN when there is a ScriptRule warning

gmAPI: a .NET API for Developing Advanced Upgrade Solutions

Section titled “gmAPI: a .NET API for Developing Advanced Upgrade Solutions”

gmAPI is a .NET API for automating our upgrade engine and accessing the semantic models produced by our unique linguistic compilation technology. gmAPI also includes classes for managing complex upgrade rules and integrating external migration tools with gmStudio. We maintain and improve gmAPI and related components to keep them in sync with the platform and add new features.

  • Improves the CodeStyle Namespaces commands to allow specifying an alias for “using-qualified” naming

The gmStudio platform includes advanced reporting services that allow you to gather extremely detailed information about your legacy system. The advance reports include Symbol Tables, Symbol References, Symbol Definitions, Model Audits, and more. We maintain and enhance these advanced reporting services to keep them in sync with the model schema and add new features. SeeSemantic Reportsfor more information.

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 ingmStudio Extensions Repository.

  • Improves rules to set the default parent class for stub controls authored in the support framework
  • Improves the analytics reporting script template
  • Improves the Common Dialog migration rules
  • Improves the MS Word to Interop rules
  • Improves the Tab Dialog (TabCtl32.ocx) rules

gmRTL is a sample runtime library that contains classes allowing for more readable translations. We continuously improve this framework in during project work. Learn more about gmRTLhere.

  • Improved Generic Collections OrderedDictionary.InsertBefore method
  • Improves App Class Implementation to be instance based
  • Improves Error Handling to Exception Handling compatibility support
  • Improves String to Date Conversion
  • Improves CreateObject logic to get along with System Enterprise Services
  • Adds ControlHelper.KeyOfValue to assist with migrating Control.Index
  • Removes unnecessary using statements

Great Migrations publishes several sample VB6/ASP upgrade solutions that illustrate the various upgrade features. The samples upgrade solutions and results were updated to reflect the latest product improvements and conventions. Learn about the Sampleshere.

Great Migrations publishes FAQ articles and other information to help teams learn and use gmStudio. You can findall of the gmStudio FAQs on the Great Migrations portal.The following “Support Statement” articles were added or updated since the last product update:

  • Updates Support Statement: Steps for Developing an ASP Site Upgrade
  • Adds Support Statement: Building gmStudio Extensions using gmAPI and .NET

gmStudio Release News: Tuesday, 17-Sept-2024

gmBasic is a computer language processor that reads, interprets, and rewrites VB6/ASP/COM systems for the .NET platform (using C# or VB .NET ). Based on feedback from our clients and real-world modernization projects, we continuously improve gmBasic so it will help developers more easily produce cleaner, more correct upgrade results. This distribution,Version 50.05, has several important enhancements.

  • Improves the Translator as a Service (TaaS) capabilities enabling developers to build and integrate their own custom upgrade features
  • Adds MoveToTop migration for moving nested local variable declarations to the top of enclosing method
  • Improves logic that infers array order (i.e., 1D, 2D, etc)
  • Improves handling optional arguments for all methods in libraries having ImplicitByref=on
  • Improves SharedFiles consolidation for Forms other complex scenarios
  • Improves type inference for ControlArray elements
  • Improves FixType for variants containing ControlArrays
  • Improves support for conditional compilation
  • Improves support for GoSub
  • Improves support for Enum entries initialized with VB6 functions
  • Improves support for array declarations dimensioned with enum entries
  • Improves support for constants initialized by other constants
  • Improves support for VB6’s archaic file IO formatting
  • Improves translating Redim Preserve for 2D arrays
  • Improves translating code using variables and arrays of type Byte

gmStudio: Upgrade Solution Development Environment

Section titled “gmStudio: Upgrade Solution Development Environment”

Powered by gmBasic, gmStudio is a platform for analyzing code and developing 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 option to use Standard Search terms for Source Scan on the Reporting control panel
  • Adds Semantic Declarations Report to the Reports menu
  • Adds option to use a user-defined VS Solution File Generator
  • Improves VS Solution File Generator to allow more flexible format and structure of GenerateSolution.txt files
  • Improves transition to Reporting-Only mode when Trial license is not valid
  • Improves updating .NET Build status for custom tasks
  • Improves ScriptRules error reporting

gmAPI: a .NET API for Developing Advanced Upgrade Solutions

Section titled “gmAPI: a .NET API for Developing Advanced Upgrade Solutions”

gmAPI is a .NET API for automating our upgrade engine and accessing the semantic models produced by our unique linguistic compilation technology. gmAPI also includes classes for managing complex upgrade rules and integrating external migration tools with gmStudio. We maintain and improve gmAPI and related components to keep them in sync with the platform and add new features.

In this release we introduce an innovative approach for gmAPI integration. The new approach allows .NET developers to define custom features and activate them with user-defined statements in translation scripts. When detecting a user-defined statement, gmBasic will delegate processing to the designated extension DLL. Extension DLLs may use .NET code and gmAPI to automate services that access information in the semantic translation model. The user code may inspect and alter the information model, edit source and generated code, and integrate external information and processes. The new approach seamlessly extends gmBasic making it easier to use custom processing with gmStudio and it also allows much easier debugging extension code in Visual Studio.

We updated many of gmStudio’s advanced features to use the new approach.

  • Shared Files Reporting and Consolidation (gmPL_gmSharedFiles.dll)
  • Custom Coding Style Transformations (gmPL_gmCodeStyle.dll).
  • VB6 to WPF Migration (gmPL_WpfSubSystem.dll)
  • Global Support Framework Generation (gmPL_gmGlobalStubs.dll).
  • Global Analysis and Reporting (gmPL_gmGlobal.dll)
  • Advanced Metrics Reporting (gmPL_Search.dll)

The gmStudio platform includes advanced reporting services that allow you to gather extremely detailed information about your legacy system. The advance reports include Symbol Tables, Symbol References, Symbol Definitions, Model Audits, and more. We maintain and enhance these advanced reporting services to keep them in sync with the model schema and add new features. See Semantic Reports for more information.
In this release, gmMetrics.exe has been replaced by gmPL_Search.dll. gmBasic.exe automatically engages the services of gmPL_Search.dll to handle advanced reporting commands in gmPL scripts.

  • Adds the Semantic Declarations Report; currently this report provides details on Implements statements in the source code

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 rules to migrate the Windows Common Controls to WinForms controls

gmRTL is a sample runtime library that contains classes allowing for more readable translations. We continuously improve this framework in during project work. Learn more about gmRTL here.

Great Migrations publishes several sample VB6/ASP upgrade solutions that illustrate the various upgrade features. The samples upgrade solutions and results were updated to reflect the latest product improvements and conventions. Learn about the Samples here.

  • Updates all Samples to target VS2022 and Framework V4.8.1
  • Updates WPF Samples to use gmPL_WpfSubSystem.dll rather than gmPL_WpfSubSystem.exe
  • Updates FileExplorer sample to demonstrate additional upgrade requirements and use the latest API mapping rules

Great Migrations publishes FAQ articles and other information to help teams learn and use gmStudio. You can find all of the gmStudio FAQs on the Great Migrations portal. The following “Support Statement” articles were added or updated since the last product update:

  • Adds Support Statement: Overcome the Limits of AI for Large Scale Software Modernization
  • Adds Support Statement: Partial Translations
  • Updates Support Statement: gmSL to move a variable declaration
  • Updates Support Statement: Override a routine in authortext.gmsl
  • Updates Support Statement: Stub Replacement

gmStudio Release News: Monday, 22-April-2024

gmBasic is a computer language processor that reads, interprets, and rewrites VB6/ASP/COM systems for the .NET platform (using C# or http://VB.NET ). Based on feedback from our clients and real-world modernization projects, we continuously improve gmBasic so it will help developers more easily produce cleaner, more correct upgrade results. This distribution, Version 40.68, focused on enhancing some of the gmAPI-powered utilities that ship with gmStudio:

In addition, it includes many enhancements in general translation cabapilities; for example:

  • Improves Ole Control layout properties to use Twips to Pixels adjustments
  • Improves handling DefLng and related DefType statements
  • Improves migrating of PropertyBag Color Properties
  • Improves the Support Framework generation feature
  • Improves ArrayToValue.csh code should use index 0
  • Improves Control.CausesValidation property and Validate Event
  • Improves SavePicture migration
  • Improves Reauthoring overloaded methods
  • Improves record of edits, errors, and warnings in translation log
  • Improves migration of COM controls
  • Improves migration of array assignments
  • Improves default framework to be v4.8.1 for VS2022

gmStudio: Upgrade Solution Development Environment

Section titled “gmStudio: Upgrade Solution Development Environment”

Powered by gmBasic, gmStudio is a platform for analyzing code and developing 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 Edit ScriptRules File operation to References context menu
  • Adds Compare Files operation to Search Results context menu
  • Adds support for matching and reporting XPath locations when searching XML files
  • Improves batch processing to rebuild the VB6 project associated with an upgrade task
  • Improves All Logs Report to restrict results to selected project task(s)
  • Improves file filter behavior on Configuration form
  • Improves .NET Build report operation to also update NetBlds and NetSize fields in the task list
  • Improves global support framework generation script template
  • Improves default User Commands Batch processing script template
  • Improves the set of default scan patterns used for language compatibility reporting
  • Changes the default VS Version for new projects to VS2022

gmAPI: a .NET API for Developing Advanced Upgrade Solutions

Section titled “gmAPI: a .NET API for Developing Advanced Upgrade Solutions”

Powered by gmBasic, gmAPI is a .NET API for automating our upgrade engine and accessing the semantic models produced by our unique linguistic compilation technology. gmAPI also includes classes for managing complex upgrade rules and integrating with gmStudio. gmAPI is used to implement special purpose utilities in the gmStudio distribution and is updated to improve these utilities and to follow the latest conventions of the gmBasic platform.

gmMetrics: Advanced Metrics Reporting tool

Section titled “gmMetrics: Advanced Metrics Reporting tool”

gmMetrics is a tool for reporting the content of system models generated by gmBasic. This includes Symbol Tables, References Reports, Definitions Reports, and Model Audits. gmMetrics is a console application written in C# using gmAPI. We maintain and enhance gmMetrics to keep it in sync with the model schema and to improve the reports.

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 ingmStudio Extensions Repository.

  • Adds example metalang rules to migrate PictureBox to gmRTL.GUI.PictureBox
  • Improves StubBaseClass rules in Environment.std.xml
  • Improves rules to migrate MSGrid.Grid to WinForms
  • Improves rules to migrate various Windows Common Controls to WinForms controls
  • Improves rules to migrate Scripting Runtime to http://System.IO
  • Improves rules to migrate TabDlg.SSTab runtime to WinForms.TabControl
  • Improves rules to migrate various Threed Controls to WinForms controls

gmRTL is a sample runtime library that contains classes allowing for more readable translations. We continuously improve this framework in the course of project work. Learn more about gmRTLhere.

  • Improves support for ComboBox.Clear
  • Improves support for Array.Copy
  • Improves File System List Controls
  • Adds Ole Control

Great Migrations publishes several sample VB6/ASP upgrade solutions that illustrate the various upgrade features. The samples upgrade solutions and results were updated to reflect the latest product improvements and conventions. Learn about the Sampleshere.

  • Updates all Samples to target VS2022 and Framework V4.8.1

Great Migrations publishes FAQ articles and other information to help teams learning and using gmStudio. You can findall of the gmStudio FAQs on the Great Migrations portal.The following “Support Statement” articles were added or updated since the last product update:

  • Adds Support Statement: How many programmers?
  • Updates Support Statement: Consolidating Shared Code Files
  • Updates Support Statement: gmStudio Licenses

gmStudio Release News: Wednesday, 20-December-2023

gmBasic is a computer language processor that reads, interprets, and rewrites VB6/ASP/COM systems for the .NET platform (using C# or VB.NET). Based on feedback from our clients and real-world modernization projects, we continuously improve gmBasic so it will help developers more easily produce cleaner, more correct upgrade results. Most recently, this work includes general improvements needed to automatically produce a build-complete C# version several systems:

  • An Elector Roll Management System system comprised of 108 inter-related VBP files referencing 1.4M total LOC in 1,566 code files and using 49 COM libraries
  • A Collaboration and Document Management Portal product comprised of 303 ASP pages and 380 #includes containing 75K unique LOC server-side logic and 45K ULOC markup.
  • An ERP for the Sleep Products Industry comprised of 1 VBP referencing 445K LOC in 459 files and using 40 COM libraries

This distribution, Version 40.59, includes many enhancements; for example:

  • Updates distribution to use 64-bit build for all system binaries
  • Improves name conflict resolution
  • Improves array type and rank inference
  • Improves type inference
  • Improves handling large numeric quantities in the form property bag code
  • Improves handling calculations to adjust for Twips to Pixels
  • Improves handling complex date calculations
  • Improves handling calculations using Byte quantities
  • Improves handling Picture types
  • Improves handling PopupMenu
  • Improves handling file IO using Get command
  • Improves handling arrays in user-defined types
  • Improves handling Response.CodePage in ASP
  • Improves handling Collection.Ubound and Collection.Lbound for control arrays
  • Improves handling complex conditional markup in ASP
  • Improves handling complex formatting in ASP
  • Adds Select.TargetFramework to allow setting the .NET Framework at the system level

gmStudio: Upgrade Solution Development Environment

Section titled “gmStudio: Upgrade Solution Development Environment”

Powered by gmBasic, gmStudio is a platform for analyzing code and developing 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:

  • Improves the VS Solution File Generator to allow Folders to occur multiple times
  • Improves the .NET Build Log Report to update Last Message with build results in the Task list
  • Adds Line Pragma support to ScriptRules command processor
  • Adds Language Compatibility items for the standard Source Scan Report
  • Corrects issue with validation of Migration Project name
  • Corrects issue with refresh double-loading the left-side file in the side-by-side viewer
  • Updates analytics reports to use gmMetrics executable rather than internal API

gmAPI: a .NET API for Developing Advanced Upgrade Solutions

Section titled “gmAPI: a .NET API for Developing Advanced Upgrade Solutions”

Powered by gmBasic, gmAPI is a .NET API for automating our upgrade engine and accessing the semantic models produced by our unique linguistic compilation technology. gmAPI also includes classes for managing complex upgrade rules and integrating with gmStudio. This API was updated to reflect the latest improvements and conventions in the gmBasic platform.

  • Updates to use 64-bit builds

gmMetrics: Advanced Metrics Reporting tool

Section titled “gmMetrics: Advanced Metrics Reporting tool”

gmMetrics is a tool for reporting the content of system models generated by gmBasic. This includes Symbol Tables, References Reports, Definitions Reports, and Model Audits. gmMetrics is a console application written in C# using gmAPI. We maintain and enhance gmMetrics to keep it in sync with the model schema and to improve the reports.

  • Updates to use 64-bit builds

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 Environment.std.xml StubBaseClass rules
  • Improves GRID32.ocx to WinForms rules
  • Improves mscomct2.ocx to Winforms rules
  • Improves mscomctl.ocx to WinForms rules
  • Improves TABCTL32.OCX to Wrapper rules
  • Improves THREED32.ocx to WinForms rules
  • Adds mig.vb7lang_PictureBox.xml to demonstrate migrating to a custom PictureBox

gmRTL is a sample runtime library that contains classes allowing for more readable translations. We continuously improve this framework in the course of project work. Learn more about gmRTL here.

  • Adds GUI.ControlHelper.UIndex/LIndex to support ControlArray.Ubound/Lbound
  • Adds Core.WinFormsExtensions.Move(Control)
  • Improves Core.FormatHelper.DateTime to strings
  • Improves Core.ConversionHelper.DateTime.toStr
  • Improves Core.ConversionHelper.toDateTime for TimeSpan
  • Improves Core.FileSystemHelper.Dir operation
  • Improves GUI.Frame border behavior
  • Improves WPF.DirListBox to use generic event handlers
  • Improves WPF.DriveListBox to use generic event handlers

Great Migrations publishes several sample VB6/ASP upgrade solutions that illustrate the various upgrade features. The samples upgrade solutions and results were updated to reflect the latest product improvements and conventions. Learn about the Samples here.

  • Updates all Samples to target VS2022 and Framework V4.8

Great Migrations publishes FAQ articles and other information to help teams learning and using gmStudio. You can find all of the gmStudio FAQs on the Great Migrations portal. The followiug “Support Statement” articles were added or updated since the last product update:

  • Adds Support Statement: Surface Pattern Syntax
  • Adds Support Statement: What does migStatus=“external” stand for
  • Updates Support Statement: Generating a Global Stub Framework
Download: