Hi,
You sound like you could use the Windows Media Player ActiveX control.
Follow this msdn tutorial on how to add this to the designer:
http://msdn.microsoft.com/en-us/library/dd564585(v=vs.85).aspx[
^]
http://msdn.microsoft.com/en-us/library/dd562851%28v=vs.85%29.aspx[
^]
and if you want to add a media player programitacly read this link:
http://msdn.microsoft.com/en-us/library/dd562692(v=vs.85).aspx[
^]
Now add a button to your form and add this to the button click event method:
Note: when you change the URL property of the media player it will automatically start playing the file located at the new URL location.
this.YourFirstMediaPlayerNameHere.URL = @"C:\Users\Public\Music\Sample Music\Sleep Away.mp3";
this.YourSecondMediaPlayerNameHere.URL = @"C:\Users\Public\Music\Sample Music\Maid with the Flaxen Hair.mp3";
I hope this helps,
MasterCodeon