How can I hardcode the code in order to pull the .wav file from the project?
As well as where should I put the .wav file?
The code I am currently using is:
private void timer2_Tick(object sender, EventArgs e)
{
SoundPlayer simpleSound = new SoundPlayer(@"c:\Windows\Media\dj.wav");
simpleSound.Play();
}
I just want the path @"c:\Windows\Media\dj.wav" to be for that content folder... So that when I deploy the application to another computer it comes with it....