playCommand = "open \"" + textBox1.Text + "\" type mpegvideo alias MediaFile"; mciSendString(playCommand, null, 0, IntPtr.Zero); playCommand = "play MediaFile"; mciSendString(playCommand, null, 0, IntPtr.Zero);
Sandeep Mewara wrote:Have a look at this: Play MP3 Files Using C#[^]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)