Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Overview

Herbert-ABS offers leading edge loading and salvage analysis software packages as well as software design tools to the maritime and offshore industries. It owns, markets and supports the existing suite of Herbert software products including its shipboard loading software (CargoMax), salvage response software (HECSALV), and load management software for offshore structures (LMP). Its latest software solutions include an enhanced containership stowage module, performance monitoring and optimization tools, and a load management, condition monitoring, and emergency response package for offshore vessels and structures.

Great Migrations worked with HerbertABS to accelerate upgrading their VB6 to .NET. Great Migrations used gmStudio to generate a C# system containing 22 application projects generated from the VB6 codes and also containing a COM stub framework generated from the COM dependencies. All projects were cross-referential and organized into a VS2015 project for subsequent refactoring, verification and optimization by the HerbertABS development team.  The development of this "Phase 1" upgrade solution took about 10 weeks.

Project Highlights

System Metrics

MetricComments
FILES693K LOC Logic and 79K LOC GUI in 1,712 Files: 411 Forms, 9 MDIForm, 1,040 Classes, 124 UserControls, 102 Modules, 0 PropertyPages, 0 Designers organized into 22 VBPs.
BINARIES12 EXEs, 7 DLLs, 2 Controls, 1 OLE EXEs
MEMBERS41,918 unique subprograms: 11,893 subroutines, 9,439 functions, 10,695 properties, 1,084 externs, 8,808 event handlers. 
UI535 unique UI containers containing 8,183 instances of 178 different kinds of controls.  
COM19,076 calls to external COM components. The diversity of COM members is 1,690 unique members from 316 classes in 37 COM components.
WIN321,169 calls to 445 unique entry-point APIs from 17 libraries. API Calls are made from 98 different user procedures.

COM Upgrades

All COM dependencies were satisfied by a COM stub framework generated automatically from actual COM usage found in the source codebase. The generated stub framework contained 40 assemblies generated for third-party COM components as well as a dozen in-house .NET assemblies (not listed).  This framework was subsequently upgraded to functional .NET components by the in-house development team as part of their effort to verify and optimize the C# generated by the gmStudio upgrade solution.  

  • ComponentOne Chart 8.0 2D Control
  • Microsoft Excel 14.0 Object Library
  • Microsoft Windows Common Controls 6.0 (SP6)
  • Microsoft Common Dialog Control 6.0 (SP6)
  • Microsoft FlexGrid Control 6.0
  • Microsoft XML, v6.0
  • Microsoft Rich Textbox Control 6.0
  • Sax Basic Engine v6 - Enterprise Library
  • Microsoft Scripting Runtime
  • Microsoft SysInfo Control 6.0
  • Microsoft Tabbed Dialog Control 6.0
  • ComponentOne VSFlexGrid 8.0 (DAO/RDO)
  • Automated Solutions Modbus Slave Control
  • ComponentOne Chart 8.0 3D Control
    • Microsoft CDO for Windows 2000 Library
    • Microsoft Windows Common Controls-3 6.0
    • Microsoft Windows Common Controls 5.0 (SP2)
    • Microsoft Excel 14.0 Object Library
    • MarkCtrl ActiveX Control module
    • Microsoft Calendar Control 8.0
    • Microsoft Chart Control 6.0 (OLEDB)
    • Microsoft Windows Common Controls-2 6.0 (SP6)
    • Microsoft Windows Common Controls 6.0 (SP6)
    • Microsoft Common Dialog Control 6.0 (SP6)
    • Microsoft Comm Control 6.0
    • Microsoft FlexGrid Control 6.0
    • Microsoft Hierarchical FlexGrid Control 6.0 (OLEDB)
    • Microsoft MAPI Controls 6.0
    • Microsoft XML, v6.0
    • OPCWare Client Developer OPC ActiveX Toolkit
    • OptiGen Library for COM 2.0 Type Library
    • Microsoft Rich Textbox Control 6.0
    • Sax Basic Engine v6 - Enterprise Library
    • Microsoft Scripting Runtime
    • Microsoft Tabbed Dialog Control 6.0
    • Visual Basic For Applications
    • Visual Basic runtime objects and procedures
    • ComponentOne VSPDF 8.0 Control
    • ComponentOne VSPrinter 8.0 Control
    • Microsoft Word 14.0 Object Library


Upgrade Features

The core features of the translation engine were improved in several ways for this project including the following features:

  • multi-dimensional array rank inference
  • precision of mixed precision calculations
  • interfaces/Implements for a complex application object model with hundreds of classes
  • support for generating an integrated build configuration 
  • refactoring GoSub blocks into separate functions
  • optimization of byref parameter passing
  • with blocks using instances of user-defined types (structs)
  • handling optional parameter default values based on private constants

 

  • No labels