Year 2000 Mini-Code Scanner Prototype NOTE This version of the mini-code scanner prototype has been modified, so the source code and some aspects of the program won't match exactly what is printed in the book Year 2000 in a Nutshell. The functionality of the program, however, *hasn't* changed. The program scans code looking for date related-strings that have been defined and returns an ASCII file that lists the code block and line where they are found, if they exist. This mini-code scanner has been tested and found to work when running on Windows 95 and Windows 98. The author of this program, Norman Shakespeare, has granted the license and distribution of the source code of this prototype to the public domain. CONTENTS The Y2KVBScanner.zip file contains the following three .zip files: Y2KforVB5.zip Y2KforVB6.zip Y2KSetup.zip The Y2KforVB5.zip file contains the source code and executable of the mini-code scanner prototype for Visual Basic Version 5, for those who have VB5 and would like to look at the source code and/or run the program. The Y2KforVB6.zip file contains the source code and executable of the mini-code scanner prototype for Visual Basic Version 6, for those who have VB6 and would like to look at the source code and/or run the program. The Y2KSetup.zip file contains the installable version of the mini-code scanner prototype for those without VB5 or VB6, but who would like to install the scanner and use it. MINI-CODE SCANNER USAGE You can start the scanner by launching the Year2000.exe in the VB5 or VB6 version, or you can navigate the Start Menu (Start -> Programs -> Year2000 Scanner Prototype -> Year2000 Scanner Prototype) with the installable version of the program (these are the default shortcuts created by the installer--the Year2000.exe can be found in the following directory: C:\Program Files\Project1). Once the program is loaded, click the Help button on the form for details about the input files (SSubs and SStrings buttons) and some usage instructions. To scan a code file perform the following two steps: In the File menu, select Specify Input File/s and then proceed to select the file or files you'd like to scan. In the File menu, select Process Input File/s and then select either Fast or Slow. Once the file(s) have been scanned, an "outfiles" subfolder is created in the application's directory, and an ASCII file is generated and placed in this folder for each scanned file. The ASCII file contains any date related string names (defined in SStrings.txt) that were found in the file, along with the code block name (defined in SSubs.txt) and the line number where it exists. If you have any questions or difficulties with the scanner, please send email to bookquestions@oreilly.com.