winforms - C# Playing a sound from an URL -


i made windows forms application c# , want add music it, know how if have file in pc, if want send application friend , not have sound file do? can use url? or resources? if yes, how it?

thanks alot !

you can create windows setup project , add necessary files distribute, including sound file. project can found in visual studio under: other project types ->setup , deployments: add solution workspace in order produce .msi , setup.exe files. alternatively, can embed file resource (re: http://www.codeproject.com/articles/17422/embedding-and-playing-wav-audio-files-in-a-winform), may substantially increase size of .exe file.


Comments