
Play a .wav file in my VB6 program?
Yes you can do both; however, I have found that sndPlaySound is not very
reliable especially on Vista. Sometimes nothing happens, sometimes if
sounds like a needle being dragged over a record and most times it works.
Anyone know a better method?
As far as recording, you can use the PC microphone to record mono or stereo.
See planet source code vb for examples.
http://www.planet-source-code.com/vb/default.asp?lngWId=1
Search for Audio Record
Search for Play Wave
Question? Has anyone figured out the alternatives to DirectX with VB6 in
Vista?
Quote:
> How can I play a .wav file from my VB6 app?
> I want to develop a VB6 app that can play a .wav file through the
> computer's built-in sound system. The files it plays will not be music
> - they will be pre-recorded voice messages.
> I downloaded and tested the ShellExecute program from Randy Birch's
> site. It plays the .wav file alright but it invokes Windows Media
> Player to do the actual playing. I would like to have the file play
> without anything visible happening on the screen. IOW, I would like to
> be able to click on a button and have the sound file play.
> Is there any way this can be done?
> Also, is it possible that I could provide the ability to CREATE the
> sound files from within my VB program?
> Thanks.