1,940 pts.
 How do you get Visual Basic 4 to play sound.wav files
Hi everone, I thought I saw this answer on this site earlier, but now can't find, at the time, I clicked the button e-mail myself, but now realized it didn't send me anything, here's my problem.

I wrote a program using vb4, I also have vb 2005 but don't like the way it compiles, so I went back to vb4, and now all I'm left to do to complete my program is to add some sound files to it, or assign some sound files.wav files to certain button when a person presses that button, can someone please assist me in getting this to work in vb-4.

 



Software/Hardware used:
I'm useing VB 4 and my Operating Systme is XP
ASKED: October 10, 2009  11:58 PM
UPDATED: October 14, 2009  10:08 PM

Answer Wiki:
Well you just need to add a component (under Project menu option choose components). There are quite a few media player controls in there. Choose one (say Windows Media Player). Close down the menu and the component will appear in your toolbox. It can now be placed on a form and used the same as any other control. I don't know how VB4 runs on XP - if you really want to stick with classic VB you should at least upgrade to VB6. Hope this helps!
Last Wiki Answer Submitted:  October 14, 2009  8:55 am  by  RetroBrothers   85 pts.
All Answer Wiki Contributors:  RetroBrothers   85 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Thanks man, but I tride what you said, and I must be missing something, it still won’t work. but thanks for trying.

 1,940 pts.

 

Hay man, your right, I’ve now got it to work to some degree, thanks man, I give you a thumbs up. awsom.

 1,940 pts.