...
Table of Contents |
---|
Overview
ScanTool is a desktop application that scans and analyzes files and directory trees and generates useful reports from the analysis of the files. For example, one report shows the structure and size of VB projects in the directory tree. Another report shows information about COM components referenced by the VB code. The program has an object-oriented design, with a different class handling each type of report.
The ScanTool sample consists of two VB6 projects:
- ScanToolLib.vbp builds into a library, ScanToolLib.dll
- ScanToolUI.vbp builds into an executable application, ScanToolUI.exe, which references the ScanToolLib.dll library
...
The source codes for these projects are located in the [INSTALLDIR]\samples\source\ScanTool subdirectory of gmStudio.
Two sample Migration Projects are included in the ScanTool example, depending on target language (C# or VB.NET) as shown below:
Project[.gmproj] | Description |
DemoScanTool_csh | ScanToolUI and ScanToolLib migrated to C#.NET, all COM externals migrated to .NET |
DemoScanTool_vbn | ScanToolUI and ScanToolLib migrated to VB.NET, all COM externals migrated to .NET |
The ScanTool
...
Table of Contents |
---|
Overview
ScanTool is a desktop application that scans and analyzes files and directory trees and generates useful reports from the analysis of the files. For example, one report shows the structure and size of VB projects in the directory tree. Another report shows information about COM components referenced by the VB code. The program has an object-oriented design, with a different class handling each type of report.
The ScanTool is organized into two VB6 projects
ScanToolLib -- a DLL that does file scanning, file parsing, and reporting
ScanToolUI -- an EXE that provides a user interface
The ScanTool source is comprised of about 2200 lines of code (LOC). The library source is in [INSTALLIR]\samples\source\ScanTool\ScanToolLib_VB6
ScanToolLib.vbp clsCOMReporter.cls clsDirList.cls clsScanControl.cls clsVBPBinReporter.cls clsVBPCntReporter.cls clsVBPModReporter.cls clsVBPRefReporter.cls clsVBPSrcReporter.cls ScanToolLib.bas
The UI source is in [INSTALLIR]\samples\source\ScanTool\ScanToolUI_VB6is
ScanToolUI.vbp ScanTool.frm ScanToolHelp.htm ScanToolUI.bas
...