playing wavs

  • Thread starter Thread starter Smiller
  • Start date Start date
http://www.pacificdb.com.au/MVP/Code/Sound.htm

....or...

Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, ByVal
dwDuration As Long) As Long

Public Sub PlayBeep()
Dim iCtr As Long

For iCtr = 0 To 5000 Step 10
'Play a tone of iCtr hertz, for 50 milliseconds
Call Beep(iCtr, 50)
DoEvents
Next iCtr
End Sub

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0764559036.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Convert WAV to MP3 4
How to play .wav file in form 1
W7 64bit Excel 2010 nl 2
Play sound on event 1
wav won't play 3
PowerPoint URGENT - PowerPoint help needed!!! 1
Play WAV file 2
Sound will not play when PPT opened by another user. 2

Back
Top