Connecting Tech Pros Worldwide Help | Site Map

Play WAV in VB6 Help

Hugh Haggerty
Guest
 
Posts: n/a
#1: Aug 18 '08
Does anyone have the Code and Declarations necessary to play
WAV Files in VB6? This must be done without the Windows Media
Player Console becoming visible.

A shell function used to work, but it does not work any more.


Any help greatly appreciated.
Hugh Haggerty
h.a.haggerty@earthlink.net


Dean Earley
Guest
 
Posts: n/a
#2: Aug 19 '08

re: Play WAV in VB6 Help


Hugh Haggerty wrote:
Quote:
Does anyone have the Code and Declarations necessary to play
WAV Files in VB6? This must be done without the Windows Media
Player Console becoming visible.
>
A shell function used to work, but it does not work any more.
PlaySound()

Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA"
(ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long)
As Long

--
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems
Closed Thread


Similar Visual Basic 4 / 5 / 6 bytes