Click to See Complete Forum and Search --> : Sound effects


February 17th, 2000, 12:40 AM
Is there a way to create a custom sound in VB? Aside from the Beep statement, how will I create a custom sound if, for instance, I'd like to accompany the showing of an error message with a sound? Other languages have this command/code. Clipper, for instance, has Tone(). Thanks in advance.

chem1
February 17th, 2000, 07:41 AM
Why don't you try putting a Microsoft Multimedia Control and then OPen whichever sound you want with it.I once tried it and it worked fine

Chris Eastwood
February 17th, 2000, 08:07 AM
There's code at http://codeguru.developer.com/vb/articles/1763.shtml that shows how to play just about any kind of sound file (wav/midi etc).

Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb