home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_demos / vbmmde / frmsound.fr_ / frmsound.fr
Text File  |  1994-02-16  |  1KB  |  52 lines

  1. VERSION 2.00
  2. Begin Form frmSound 
  3.    BackColor       =   &H00400040&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "MMDemo Sound Player"
  6.    ClientHeight    =   615
  7.    ClientLeft      =   1560
  8.    ClientTop       =   4440
  9.    ClientWidth     =   5700
  10.    ControlBox      =   0   'False
  11.    Height          =   1020
  12.    Left            =   1500
  13.    LinkTopic       =   "Form1"
  14.    MaxButton       =   0   'False
  15.    MinButton       =   0   'False
  16.    ScaleHeight     =   615
  17.    ScaleWidth      =   5700
  18.    Top             =   4095
  19.    Width           =   5820
  20.    Begin MMControl mmSound 
  21.       Height          =   375
  22.       Left            =   120
  23.       TabIndex        =   1
  24.       Top             =   120
  25.       Width           =   4350
  26.    End
  27.    Begin CommandButton cmdSndExit 
  28.       Caption         =   "E&xit"
  29.       Height          =   375
  30.       Left            =   4560
  31.       TabIndex        =   0
  32.       Top             =   120
  33.       Width           =   975
  34.    End
  35. End
  36. Option Explicit
  37.  
  38. Sub cmdSndExit_Click ()
  39.     Unload frmSound
  40. End Sub
  41.  
  42. Sub Form_Load ()
  43.     ' set properties
  44.     frmSound.mmSound.Notify = False
  45.     frmSound.mmSound.Wait = True
  46.     frmSound.mmSound.Shareable = False
  47.     frmSound.mmSound.DeviceType = "WaveAudio"
  48.     frmSound.mmSound.FileName = "\mmdemo\ahhhhh.wav"
  49.     frmSound.mmSound.Command = "Open"
  50. End Sub
  51.  
  52.