Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


Play an audio file

 

 Play an audio file, remember and change the audio file.

'play an audio file

Declare Function mciExecute Lib "winmm.dll" (ByVal lpstrcommand As String) As Long

Private Sub Command1_Click()

Dim iresult
iresult = mciExecute("play C:\mysample.wav")

End Sub

 

 

 

 

 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
displays the browser info(Javascript)
Random number examples(PHP)
Random image example(PHP)
File attributes(C)
List all files in a directory(VBnet)
Replace a word(ASP)
Display the filesystem of a drive(VB)
get current url using PHP_SELF(PHP)

    




Copyright © 2003 by programmershelp.co.uk