home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / fbi_file / read.txt < prev   
Text File  |  1993-01-18  |  2KB  |  45 lines

  1.  
  2. This source code demonstrates the use of the mmsystem.dll to 
  3. play .wav files.  Be sure to check Global module for the syntax
  4. to declare the function.  There are numerous calls to this
  5. function located in most of the forms with comments which 
  6. explain the parameters required.  Most of the calls are in the
  7. formname.Active event.
  8.  
  9. To install:
  10.     
  11.     Copy all files to any directory you choose.
  12.     The wave files (*.wav) MUST be in the same directory
  13.     as the executable file (fbifile.exe).
  14.     Note exception below.
  15.  
  16. To run from Windows:
  17.  
  18.     Run it as you would any other Windows program,
  19.     either from the File,Run command in Program 
  20.     Manager or File Manager, or by double clicking
  21.     fbifile.exe in File Manager.
  22.     Personally, I don't recommend setting up a
  23.     Program Manager application icon, because you
  24.     probably won't run it that often. (I didn't even
  25.     even include an icon to set it up with).
  26.  
  27. To run from the Visual Basic environment:
  28.  
  29.     Open the project file (fbifile.mak) and run it 
  30.     normally.  The only difference is the wave files 
  31.     MUST now be located in the current working directory,
  32.     which is probably your Visual Basic directory.
  33.     This quirk can be corrected easy enough by adding code
  34.     to the program to supply the proper directory that
  35.     the .wav's are located in.
  36.  
  37. Feel free to expand on this program however you want.
  38. All I ask is that you let me know what you've done to it, 
  39. just out of curiosity.  I'm not interested in critiques,
  40. though.  My intention was never to write a well written 
  41. program.  I threw most of this together in just a couple 
  42. of hours.
  43.  
  44.  
  45.