hi,
try this code. its working i have tested
include windows media player library before using the below code
{
OpenFileDialog dialog = new OpenFileDialog();
dialog.Filter = "Audio Files (.mp3)|*.mp3";
if(dialog.ShowDialog() == DialogResult.OK)
{
string path = dialog.FileName;
playSound(path);
WMPLib.WindowsMediaPlayer wplayer = new WMPLib.WindowsMediaPlayer();
wplayer.URL = path;
wplayer.controls.play();
}