Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The methodology produces many outputs: logs, model files, reports, .NET codes and assemblies. Plan for about one gigabyte of disk space for these files. 

 

Software Requirements

The system has been tested on:

...

  1. Select the VB6 projects to migrate:
     
        a) Click [File/New Migration] from the main menu. This will open the [Migration Project Setup] form. 

        b) Enter a name for your migration project; the default is "Migration1".

        c) Use the [Select Migration Units] controls to find and select VBPs.

        d) Click [Add] to add VBPs to the migration project
        e) Click [Save & Exit] to return to the Main Form.

    NewMigrationSetup
     

  2. Run the migration process by clicking the [Upgrade] button on the Toolbar.

    BatchControl

If you have successfully installed gmStudio, you will get a log file similar to the one shown below. The log shows the default migration steps for a two-VBP sample migration project:

  • Preparation Preparation   
  • Translation 
     
  • Deployment 
     Translation  
  • Deployment  
  • Verification (by building the .NET code using MSBuild)

 
No Format
Starting Batch

Set Build Order

Setup Build Order

Compute Build Order

Apply Build Order

READY: See C:\GMS\samples\workspace\DemoScanTool\report\Interop2_csh-SrcOrder.txt

Author Interop Assemblies

Loading Interface Cache

Scanning References: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\ScanToolLib.vbp

Scanning References: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanToolUI.vbp

Importing: stdole2.tlb

Importing: TLBINF32.DLL

Importing: scrrun.dll

Importing: ScanToolLib.dll

Importing: msxml4.dll

Importing: ComDlg32.OCX

Validating: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\ScanToolLib.vbp

LibRegd = SUCCESS

RefStat = READY

SrcSize = 1518

Validating: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanToolUI.vbp

LibRegd = SUCCESS

RefStat = READY

SrcSize = 727

Syncing Project File

Validation Complete

Author Interface Descriptions

Loading Interface Cache

Scanning References: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\ScanToolLib.vbp

Scanning References: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanToolUI.vbp

Generating Interface Description for: stdole2.tlb

Generating Interface Description for: TLBINF32.DLL

Generating Interface Description for: scrrun.dll

Generating Interface Description for: ScanToolLib.dll

Generating Interface Description for: msxml4.dll

Generating Interface Description for: ComDlg32.OCX

Updating Interface Cache

Validating: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\ScanToolLib.vbp

LibRegd = SUCCESS

RefStat = READY

SrcSize = 1518

Validating: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanToolUI.vbp

LibRegd = SUCCESS

RefStat = READY

SrcSize = 727

Syncing Project File

Validation Complete

Reset Task Status

Reset: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\ScanToolLib.vbp

LastMsg = Reset

NetSize = -1

Run Translation

Translating C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\ScanToolLib.vbp

Basic Processor V9.80 (BETA.002) System Build(8/27/09 15:14:45)

Processing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\ScanToolLib.vbp

Processing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\ScanToolLib.bas

Processing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPRefReporter.cls

Processing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsDirList.cls

Processing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPBinReporter.cls

Processing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsCOMReporter.cls

Processing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPModReporter.cls

Processing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPCntReporter.cls

Processing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPSrcReporter.cls

Processing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsScanControl.cls

Loading reference:
<stdole2.tlb>
<stdole2.tlb> C:\GMS\samples\workspace\DemoScanTool\idf\FromIdl\stdole2.tlb.xml

Loading reference:
<Mig
<Mig.stdole2.
tlb>
tlb> C:\GMS\support\lang\Mig.stdole2.tlb.xml

Loading reference:
<TLBINF32.DLL>
<TLBINF32.DLL> C:\GMS\samples\workspace\DemoScanTool\idf\FromIdl\TLBINF32.DLL.xml

Loading reference:
<scrrun.dll>
<scrrun.dll> C:\GMS\samples\workspace\DemoScanTool\idf\FromIdl\scrrun.dll.xml

Loading reference:
<msxml4.dll>
<msxml4.dll> C:\GMS\samples\workspace\DemoScanTool\idf\FromIdl\msxml4.dll.xml

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\ScanToolLib.bas

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPRefReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsDirList.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPBinReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsCOMReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPModReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPCntReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPSrcReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsScanControl.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\ScanToolLib.bas

Loading reference:
<vb6control.dcl>
<vb6control.dcl> C:\GMS\support\lang\vb6control.dcl.xml

Loading reference:
<dao350.dll>
<dao350.dll> C:\GMS\support\lang\dao350.dll.xml

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPRefReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsDirList.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPBinReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsCOMReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPModReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPCntReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsVBPSrcReporter.cls

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolLib_VB6\clsScanControl.cls

LastMsg = TRANSLATED:2009-09-08 10:39:17

TrnStat = SUCCESS

NetSize = 2196

Deploy Translation

Deploying: C:\GMS\samples\workspace\DemoScanTool\log\Interop2_csh-ScanToolLib-iop2-csh.bnd

LastMsg = DEPLOYED:2009-09-08 10:39:17

Build Translation

Building: C:\GMS\samples\workspace\DemoScanTool\deploy\ScanToolLib_iop2_csh\ScanToolLib.csproj

LastMsg = .NET BUILD COMPLETED: 2009-09-08 10:39:18

NetBlds = SUCCESS

Reset Task Status

Reset: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanToolUI.vbp

LastMsg = Reset

NetSize = -1

Run Translation

Translating C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanToolUI.vbp

Basic Processor V9.80 (BETA.002) System Build(8/27/09 15:14:45)

Processing file: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanToolUI.vbp

Processing file: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanTool.frm

Processing file: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanToolUI.bas

Loading reference:
<stdole2.tlb>
<stdole2.tlb> C:\GMS\samples\workspace\DemoScanTool\idf\FromIdl\stdole2.tlb.xml

Loading reference:
<Mig
<Mig.stdole2.
tlb>
tlb> C:\GMS\support\lang\Mig.stdole2.tlb.xml

Loading reference:
<scrrun.dll>
<scrrun.dll> C:\GMS\samples\workspace\DemoScanTool\idf\FromIdl\scrrun.dll.xml

Loading reference:
<ScanToolLib.dll>
<ScanToolLib.dll> C:\GMS\samples\workspace\DemoScanTool\idf\FromIdl\ScanToolLib.dll.xml

Loading reference:
<TLBINF32.DLL>
<TLBINF32.DLL> C:\GMS\samples\workspace\DemoScanTool\idf\FromIdl\TLBINF32.DLL.xml

Loading reference:
<msxml4.dll>
<msxml4.dll> C:\GMS\samples\workspace\DemoScanTool\idf\FromIdl\msxml4.dll.xml

Loading reference:
<ComDlg32.OCX>
<ComDlg32.OCX> C:\GMS\samples\workspace\DemoScanTool\idf\FromIdl\ComDlg32.OCX.xml

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanTool.frm

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanToolUI.bas

Loading reference:
<shell32.dcl>
<shell32.dcl> C:\GMS\support\lang\shell32.dcl.xml

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanTool.frm

Loading reference:
<vb6control.dcl>
<vb6control.dcl> C:\GMS\support\lang\vb6control.dcl.xml

Loading reference:
<dao350.dll>
<dao350.dll> C:\GMS\support\lang\dao350.dll.xml

Reprocessing file: C:\GMS\samples\source\ScanTool\ScanToolUI_VB6\ScanToolUI.bas

LastMsg = TRANSLATED:2009-09-08 10:39:18

TrnStat = SUCCESS

NetSize = 1689

Deploy Translation

Deploying: C:\GMS\samples\workspace\DemoScanTool\log\Interop2_csh-ScanToolUI-iop2-csh.bnd

LastMsg = DEPLOYED:2009-09-08 10:39:19

Build Translation

Building: C:\GMS\samples\workspace\DemoScanTool\deploy\ScanToolUI_iop2_csh\ScanToolUI.csproj

LastMsg = .NET BUILD COMPLETED: 2009-09-08 10:39:20

NetBlds = SUCCESS

Batch Complete. Elapsed Time= 0:0:14.484
 

The default translation uses Interop for all COM externals and is written in the default .NET language (C#).

...