VB 2005: How to import sounds into Resources?

Dear Experts:

I would like to learn how to import sounds (.wav) into the Resources folder.

Thanks a lot!
dutaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rgn2121Commented:
Under your project in the Solution Explorer you can right click "My Project".  Then click "Resources", which will bring you to the view of your imported resources.  From the top of that window you should be able to click the first drop-down and choose "Audio" and then in the next drop-down select "Existing File" and browse to it.

I have never added any audio files, but that is basically how I add other resources.  Good luck..
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dutaAuthor Commented:
Thank you so much for your kind, superprompt tip.

I could import the sound into the Resource folder by following your tip.

But the sound does not play.

I used the following code:
 My.Computer.Audio.Play (My.Resources.ari2).
ari2 refers to "ari2.wav" which has been imported into the Resources folder.

Thanks a lot!
0
dutaAuthor Commented:
I got it all!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.