home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / VISBUILD / RAPSHEET / README < prev    next >
Text File  |  1995-06-08  |  6KB  |  140 lines

  1. NAME: Police Rap Sheet
  2.  
  3. DESCRIPTION:
  4.        This application retrieves information about 
  5.        suspects from a database and displays the list of 
  6.        suspects in a container.  A notebook is used to 
  7.        display detailed information about a suspect. 
  8.  
  9. CONCEPT/FEATURE:
  10.        How to build a simple GUI application that 
  11.        connects to a DB/2 Database using the Visual 
  12.        Builder. 
  13.  
  14. SOURCE FILE LOCATION:
  15.        X:\ibmcpp\samples\visbuild\rapsheet 
  16.  
  17.        where X: is the drive you installed the samples 
  18.        and document component of VisualAge C++. 
  19.  
  20.        Select Source Files for a list of the source files 
  21.        in this directory. 
  22.  
  23. HOW TO RUN THE SAMPLE:
  24.  
  25.        VBRAPSHT.EXE is not meant to be executed.  
  26.        This application retrieves data from a DB2/2 
  27.        database, but the database that is bound to the 
  28.        executable file is not provided.  The database 
  29.        access was not designed to be used as an 
  30.        example, but rather as a means to verify the 
  31.        visual and nonvisual parts that comprise this 
  32.        application.  You can use the Visual Builder to 
  33.        browse the visual and nonvisual parts that 
  34.        comprise the Police Rap Sheet application. 
  35.  
  36. HOW TO BUILD THE SAMPLE PROJECT YOURSELF:
  37.  
  38.        You can regenerate this application's source as 
  39.        follows, but YOU SHOULD NOT ATTEMPT TO 
  40.        REBUILD THIS SAMPLE! 
  41.  
  42.        To regenerate this application's source, do the 
  43.        following from the main Visual Builder Window: 
  44.  
  45.          1. Select all the parts in the "Visual Parts" list 
  46.             and then select "Part->Generate->Part 
  47.             source" from the Menubar. 
  48.          2. Select only the "IRapMainView" part in the 
  49.             "Visual Parts" list and then select 
  50.             "Part->Generate->main() for part" from the 
  51.             Menubar. 
  52.  
  53. HOW TO INSPECT THE VISUAL PARTS USING THE VISUAL BUILDER
  54.          
  55.            There are two "class files" that make up 
  56.             the application, VBRPSHTN.VBB and 
  57.             VBRPSHTV.VBB. 
  58.               1. Start the Visual Builder Tool -- from 
  59.                  the command line, type: 
  60.  
  61.                     icsvb
  62.                  
  63.                  or from the project view of the 
  64.                  sample:select Visual from the Project 
  65.                  pulldown. 
  66.               2. When the Visual Builder Window 
  67.                  appears, select from the Menubar the 
  68.                  "File->Load" option. 
  69.               3. The Load Files dialog will appear with 
  70.                  a list of "class files" that may be 
  71.                  loaded.  Select from the list the files 
  72.                  listed in step number one (1) above 
  73.                  and press the "OK" button.  Again using 
  74.                  the Load Files dialog, load the file 
  75.                  VBSAMPLE.VBB from the 
  76.                  \ibmcpp\dde4vb directory. 
  77.               4. You may now select the VBB's from 
  78.                  the "Loaded Part Files" list in the 
  79.                  Visual Builder Window.  This will then 
  80.                  display the application's visual parts in 
  81.                  the "Visual Parts" list of the Visual 
  82.                  Builder Window. 
  83.               5. You may now select any or all of 
  84.                  these parts from the "Visual Parts" list 
  85.                  and then select "Part->Open" from the 
  86.                  Menubar to open these parts for 
  87.                  viewing and/or editing. 
  88.  
  89. SOFTWARE/HARDWARE PREREQUISITES:
  90.          
  91.            IBM VisualAge C++ 
  92.            OS/2 2.1 or Warp 
  93.            DB2/2 1.2 
  94.            IBM or compatible 486 and up. 
  95.  
  96. ADDITIONAL INFORMATION:
  97.          
  98.            For more information on the creation and 
  99.             use of projects in the WorkFrame 
  100.             environment, see the VisualAge C++ for 
  101.             OS/2 User's Guide. 
  102.            For more information on the the Visual 
  103.             Builder, see the VisualAge C++ for OS/2 
  104.             Visual Builder User's Guide. 
  105.  
  106.        Both books can be found online.  To access an 
  107.        online book, simply open the main VisualAge 
  108.        C++ desktop folder, then open the Information 
  109.        Folder inside.  To view a book, double-click on 
  110.        that book's icon. 
  111.   
  112.  
  113.  
  114. REQUIRED FILES:
  115.  
  116.    README        Description and instructions for sample. 
  117.   VBRAPSHT.SPC   High level specification of the Police Rap Sheet
  118.                  application. 
  119.   VBRAPSHT.EXE   This file is not intended for execution.  It requires
  120.                  a database which has not been provided.  You can 
  121.                  use the Visual Builder to view the visual and 
  122.                  nonvisual parts that comprise this application. 
  123.    CPPOV23*.*    DEF, LIB, MAK and DLL for the Police Rap Sheet 
  124.                  application non-visual parts. 
  125.   CPPOV23R.*     DEF, MAK, RC, CPP and DLL for the Police Rap 
  126.                  Sheet application resource DLL.  The .mak and .def 
  127.                  file are provided as examples only.  Do not try to 
  128.                  nmake the .mak file (the icons and bitmaps it 
  129.                  references are not provided). 
  130.   .HPP/.H files  C++ header files for the Police Rap Sheet 
  131.                  non-visual parts. 
  132.   .CPP files     C++ code files for the Police Rap Sheet non-visual 
  133.                  parts. 
  134.   VBRPSHTN.VBE   Non-visual Part Interface Definition Import file.
  135.   .VBB files     Visual Builder "part files" for the Police Rap Sheet 
  136.                  application.  The Police Rap Sheet application also 
  137.                  requires the VBSample.vbb file to be loaded. 
  138.   
  139.  
  140.