Sound Files

I don't like relying on outside sources for my applications so the background sound file i have playing, i want to get it where the end user doesn't have to copy the sound file into a directory where the application will call on it on load. I figured if i copied it into the Resources.resx file and then call it from there ( that is i am figuring that when the application is built, this file is built into the application). The Resources.resx file has worked for my background picture files before and i didnt actually have to have the picture on the computer when running the application. So the question is: Can it be done and if so, how?

[651 byte] By [phousley17] at [2007-12-16]
# 1
Hi phousley,

Try this link;
http://www.codeproject.com/vb/net/embeddedresources.asp

It explains how to add resources to your application and how to retrieve them.

Regards,

Grant.

GrantCarthew at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic General...