Play WAV in VB6 Help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hugh Haggerty

    Play WAV in VB6 Help

    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@ea rthlink.net


  • Dean Earley

    #2
    Re: Play WAV in VB6 Help

    Hugh Haggerty wrote:
    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@ic ode.co.uk)
    i-Catcher Development Team

    iCode Systems

    Comment

    Working...