开发者

How to Play mp3 in C#

开发者 https://www.devze.com 2022-12-16 13:49 出处:网络
how do I write a simple code in C# that 开发者_JAVA百科plays a mp3 file when i click a button.If you System.Diagnostics.Process.Start the mp3 file by name, I would expect any associated player applica

how do I write a simple code in C# that 开发者_JAVA百科plays a mp3 file when i click a button.


If you System.Diagnostics.Process.Start the mp3 file by name, I would expect any associated player application - such as media player - to launch and play the file. Are you asking how to play an MP3 file without displaying a player?


You can use the Windows Media Player ActiveX control just fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号