play an embedded wave file
Posted on 2012-08-21
I am using VB.Net 2010
I would like to play an embedded wave file. See attachment (wave file).
I have added the file to the project and changed the properties for this file for "Build Action = Embedded Resource". I believe that I have this part right. The coding though seems to be a problem.
This is driving me nuts.........
I would like to create a class to play embedded wave files. I would like to instantiate an instance of this class and play audio from the main form.
I would really appreciate a working example. Thanks!