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

  1. NAME: VBSTEREO
  2.  
  3. DESCRIPTION:
  4.        This application displays a CD player, wave 
  5.        player, digital video player and an amplifier. 
  6.  
  7.        CD PLAYER: 
  8.                  The user can play, rewind, fast 
  9.                  forward, stop, pause track forward and 
  10.                  track backward. In addition, there is an 
  11.                  eject button which will eject the CD 
  12.                  from the player. Users can also select 
  13.                  which track they desire be pressing the 
  14.                  corresponding track number button and 
  15.                  the enter button. There is also a 
  16.                  display that shows the track number 
  17.                  being played as well as the minutes 
  18.                  and seconds that have elapsed in a 
  19.                  given track. 
  20.        WAVE PLAYER: 
  21.                  The user can play, rewind, fast 
  22.                  forward, stop, and pause. In addition, 
  23.                  there is a load button which show a 
  24.                  file dialog for file selection. 
  25.        DIGITAL VIDEO: 
  26.                  The user can play, rewind, fast 
  27.                  forward, stop, and pause. 
  28.        PLAYER 
  29.                  In addition, there is a load button 
  30.                  which show a file dialog for file 
  31.                  selection. 
  32.        AMPLIFIER: 
  33.                  Allows the user to set the volume by 
  34.                  turning a circular slider. The user can 
  35.                  also stop the stereo application by 
  36.                  pressing the off button. 
  37.  
  38. TASK:
  39.        A GUI application that allows the user to play 
  40.        one of three multi media players. 
  41.  
  42.        Please Note: A CD must be in the player prior 
  43.        to starting this application. 
  44.        
  45.  
  46. CONCEPT/FEATURE:
  47.        Illustrates the use of CD player, wave player, 
  48.        digital video player, amplifier/mixer, multi cell 
  49.        canvas, animated push button, circular slider and 
  50.        custom logic. 
  51.  
  52. PROJECT LOCATION:
  53.        Inside the VisBuild Sample folder (inside the 
  54.        VisualAge C++ Samples folder). 
  55.  
  56. SOURCE FILE LOCATION:
  57.        X:\ibmcpp\samples\visbuild\vbstereo 
  58.  
  59.        where X: is the drive you installed the samples 
  60.        and document component of VisualAge C++. 
  61.  
  62.        Select Source Files for a list of the source files 
  63.        in this directory. 
  64.  
  65. HOW TO RUN THE SAMPLE:
  66.        
  67.        From within the WorkFrame environment: 
  68.                  To run the prebuilt project, open the 
  69.                  Samples folder on your OS/2 desktop 
  70.                  then double-click on the project's icon 
  71.                  to open the project view of the 
  72.                  sample.  Click on the RUN button of 
  73.                  the project's toolbar. 
  74.  
  75.        From the command line: 
  76.                  Simply type the name of the .EXE file, 
  77.                  that is: 
  78.  
  79.                    VBSTEREO
  80.                  
  81.  
  82. HOW TO BUILD THE SAMPLE PROJECT YOURSELF:
  83.        
  84.        From within the WorkFrame environment: 
  85.                  Open the Samples folder on your OS/2 
  86.                  desktop then double-click on the 
  87.                  project's icon to open the project view 
  88.                  of the sample. In the upper half of the 
  89.                  project window you will see the icons 
  90.                  of the files associated with the sample. 
  91.  
  92.                  Start the Visual Builder component of 
  93.                  VisualAge C++ by selecting Visual from 
  94.                  the Project pulldown.  Then, from the 
  95.                  main Visual Builder Window: 
  96.  
  97.                    1. Select all the parts "Visual Parts" 
  98.                       list and then select 
  99.                       "Part->Generate->Part source" 
  100.                       from the Menubar. 
  101.                    2. Select only the "VBStereo" part in 
  102.                       the "Visual Parts" list and then 
  103.                       select "Part->Generate->main() for 
  104.                       part" from the Menubar. 
  105.                    3. Now invoke a Project Build Action. 
  106.  
  107.                  To run the sample project, see How to 
  108.                  run the sample project above. 
  109.  
  110.        From the command line: 
  111.                  Start the Visual Builder component of 
  112.                  VisualAge C++ by typing: 
  113.  
  114.                    icsvb
  115.                  
  116.                  From the main Visual Builder Window: 
  117.  
  118.                    1. Select all the parts in the "Visual 
  119.                       Parts" list and then select 
  120.                       "Part->Generate->Part source" 
  121.                       from the Menubar. 
  122.                    2. Select only the "VBStereo" part in 
  123.                       the "Visual Parts" list and then 
  124.                       select "Part->Generate->main() for 
  125.                       part" from the Menubar. 
  126.                    3. From an OS/2 command line, make 
  127.                       this sample's directory the current 
  128.                       directory and invoke the BUILD.CMD 
  129.                       program by typing: 
  130.  
  131.                         BUILD
  132.                       
  133.  
  134. HOW TO INSPECT THE VISUAL PARTS USING THE VISUAL BUILDER
  135.  
  136.        There are five "class files" that make up the 
  137.        application, VBCDPLYR.VBB, VBMIXER.VBB, 
  138.        VBSTEREO.VBB, VBVIDEO.VBB, and VBWAVE.VBB. 
  139.        The application also requires VBMM.VBB and 
  140.        VBSAMPLE.VBB which are shipped as part of the 
  141.        base product. 
  142.  
  143.          1. Start the Visual Builder Tool -- from the 
  144.             command line, type: 
  145.  
  146.                icsvb
  147.             
  148.             or from the project view of the 
  149.             sample:select Visual from the Project 
  150.             pulldown. 
  151.          2. When the Visual Builder Window appears, 
  152.             select from the Menubar the "File->Load" 
  153.             option. 
  154.          3. The Load Files dialog will appear with a list 
  155.             of "class files" that may be loaded.  Select 
  156.             from the list the files listed above and press 
  157.             the "OK" button. 
  158.          4. Again using the Load Files dialog, load the 
  159.             files VBSAMPLE.VBB and VBMM.VBB from the 
  160.             \ibmcpp\dde4vb directory.  These contains 
  161.             the standard multi-media support parts. 
  162.          5. Now that you have loaded the necessary 
  163.             files, from the "Loaded Part Files" list in the 
  164.             Visual Builder Window select the .VBB's.  
  165.             This will   cause the application's visual 
  166.             parts to be displayed in the "Visual Parts" 
  167.             list of this Window. 
  168.          6. You may now select any or all of these 
  169.             parts from the "Visual Parts" list and then 
  170.             select "Part->Open" from the Menubar to 
  171.             open these parts for viewing and/or 
  172.             editting. 
  173.  
  174. SOFTWARE/HARDWARE PREREQUISITIES:
  175.          
  176.            IBM VisualAge C++ 
  177.            OS/2 2.1 or Warp 
  178.            DB2/2 1.2 
  179.            MMPM/2 is required to use this sample. 
  180.            IBM or compatible 486 and up. 
  181.  
  182. ADDITIONAL INFORMATION:
  183.          
  184.            For more information on the creation and 
  185.             use of projects in the WorkFrame 
  186.             environment, see the VisualAge C++ for 
  187.             OS/2 User's Guide. 
  188.            For more information on the the Visual 
  189.             Builder, see the VisualAge C++ for OS/2 
  190.             Visual Builder User's Guide. 
  191.  
  192.        Both books can be found online.  To access an 
  193.        online book, simply open the main VisualAge 
  194.        C++ desktop folder, then open the Information 
  195.        Folder inside.  To view a book, double-click on 
  196.        that book's icon. 
  197.   
  198.  
  199. REQUIRED FILES:
  200.  
  201.   BUILD    CMD 
  202.   README         
  203.   VBCDPLYR VBB 
  204.   VBMIXER  VBB 
  205.   VBSTEREO AVI 
  206.   VBSTEREO EXE 
  207.   VBSTEREO MAK 
  208.   VBSTEREO MID 
  209.   VBSTEREO VBB 
  210.   VBSTEREO WAV 
  211.   VBVIDEO  VBB 
  212.   VBWAVE   VBB 
  213.   
  214.  
  215.