I cannot figure out how you go about playing a Wav/MIDI file in a VB Program. I found one thing but it didn't work. This is a little old but the version is Visual Basic 4.0. It actually runs on Windows XP!!
gemini2011 0 Newbie Poster
Recommended Answers
Jump to PostWhat did you find? What you found DOES work but only in VB4? Are you looking for something for VB.NET ?
Jump to Posttry using the sndPlaySound API
Jump to Posthere's a module I used to play sounds. I don't remember how I did it with just the .wav fiile, but I THINK you can just put the name of the file in place of loadresdata. But in this example I have my .wav files saved in my resource file …
All 11 Replies
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
KrunalPatel 0 Newbie Poster
BlackDice 4 Light Poster
Stooge 0 Newbie Poster
BlackDice 4 Light Poster
Spartan117 0 Newbie Poster
Comatose 290 Taboo Programmer Team Colleague
Water-Orb 0 Newbie Poster
guest2425 0 Newbie Poster
thewebhostingdi -7 Junior Poster
Salem commented: Another thread-bumping doofus with nothing but vague pattern matched pavlovian responses and a ass-full of spammy siglinks -7
nikhilvsbunty 0 Newbie Poster
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.