C# Programming
09-19-2009, 06:55 PM
hi, trying to add a .wav file to my project's resources, and play it through axWindowsMediaPlayer1.
Problem is i dont quite know how to tell the axWindowsMediaPlayer1 where the file is.
I have tried the following:
WindowsFormsApplication1.Properties.Resources.tune (tune being the wav file)
except now the player has a problem because of no file extension, and if i add an extension, it plays nothing.
WindowsFormsApplication1.Properties.Resources.tune.wav (plays nothing, you can see why)
any help would be appreciated, thanks.
Problem is i dont quite know how to tell the axWindowsMediaPlayer1 where the file is.
I have tried the following:
WindowsFormsApplication1.Properties.Resources.tune (tune being the wav file)
except now the player has a problem because of no file extension, and if i add an extension, it plays nothing.
WindowsFormsApplication1.Properties.Resources.tune.wav (plays nothing, you can see why)
any help would be appreciated, thanks.