Play WAV in VB6 Help

This is a discussion on Play WAV in VB6 Help within the basic.visual forums in Programming Languages category; 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...

Go Back   Application Development Forum > Programming Languages > basic.visual

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-18-2008, 04:14 PM
Hugh Haggerty
Guest
 
Default 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@earthlink.net


Reply With Quote
  #2  
Old 08-19-2008, 04:14 AM
Dean Earley
Guest
 
Default 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@icode.co.uk)
i-Catcher Development Team

iCode Systems
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:45 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.