VB6 recognises beep. Are there any other sounds ?

Recommended Answers

All 2 Replies

Nothing as simple. Beep is merely a command that plays a sound through the PC speaker. It varies from system to system (though, it seems to have been synchronized by the os), and is usually used strictly for "oops" sounds. You could use the Play Sound Api Call, which gives you a little control over your sound, but is not quite as powerful as some might like. You could always use DirectX's DirectSound, which is much more powerful (but much more difficult).

Thanks for that. I guess you confirmed for me what I thought was the case. It is not important enough to use the api call.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.