I'm trying to play an MP3 file in C# using this guide: http://www.crowsprogramming.com/archives/58
And I'm doing everything listed, but I still can't play any music in my C# program. Can anyone tell me what I'm doing wrong?
static void Main(string[] args)
{
WMPLib.WindowsMediaPlayer a = new WMPLib.WindowsMediaPlayer();
a.URL = "song.mp3";
a.controls.play();
}
The music file "Song" is in the bin folder.