Hi,
I'm trying to play L1.wav which is in my resources folder. Previously I have pulled images from the resources file using the line btc.Properties.Resources.noImg which worked perfectly but if I try and do the same for the wav file I get a '...does not contain a definition for L1. Its there, works fine if I double click it. How do I get it to work?
System.Media.SoundPlayer player = new System.Media.SoundPlayer();
player.SoundLocation = btc.Properties.Resources.L1;
player.play();
Thanks.