home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Form1
- BackColor = &H00C0C0C0&
- Caption = "Plays WAV files from PC Speaker"
- ClientHeight = 5265
- ClientLeft = 1245
- ClientTop = 1605
- ClientWidth = 7230
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 13.5
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 5670
- Left = 1185
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- ScaleHeight = 5265
- ScaleWidth = 7230
- Top = 1260
- Width = 7350
- Begin FileListBox File1
- BackColor = &H00FFFF00&
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 12
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 2430
- Left = 3120
- Pattern = "*.wav"
- TabIndex = 0
- Top = 480
- Width = 3975
- End
- Begin DirListBox Dir1
- BackColor = &H00FFFF00&
- Height = 2415
- Left = 120
- TabIndex = 2
- Top = 480
- Width = 2655
- End
- Begin DriveListBox Drive1
- BackColor = &H00FFFF00&
- Height = 315
- Left = 120
- TabIndex = 1
- Top = 120
- Width = 2655
- End
- Begin Label Label2
- Alignment = 2 'Center
- BackColor = &H00E0FFFF&
- BorderStyle = 1 'Fixed Single
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 18
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 2175
- Left = 120
- TabIndex = 4
- Top = 3000
- Width = 6975
- End
- Begin Label Label1
- Alignment = 2 'Center
- BackColor = &H0000FFFF&
- BorderStyle = 1 'Fixed Single
- Caption = "*.WAV "
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 13.5
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 375
- Left = 3120
- TabIndex = 3
- Top = 120
- Width = 3975
- End
- Sub Dir1_Change ()
- file1.path = dir1.path
- End Sub
- Sub Dir1_Click ()
- file1.path = dir1.path
- End Sub
- Sub Drive1_Change ()
- file1.path = drive1.drive
- dir1.path = drive1.drive
- End Sub
- Sub File1_Click ()
- res% = sndplaysound(file1.path + "\" + file1.list(file1.listindex), 0)
- End Sub
- Sub Form_Load ()
- nl$ = Chr$(10) + Chr$(13)
- label2.caption = "By Gustavo Eydelsteyn" + nl$ + "SF Bay Area - Visual Basic User Group" + nl$ + nl$ + "(510) 547-7295"
- End Sub
-