I have often been asked the question " Is there a simple way to play WAV and MP3 files from C#". I have in the past few days devoted myself to doing this and I have been able to create a simple C# form with a single button to play both MP3 and WAV files using only six lines of code.
The program utilizes the device control MP3P.OCX which must be registered with regsvr32.exe but I have created "setup.bat" to do this.
There also must be the following .dll files present.
I have a mp3player.zip file containing the program which is named
I also have a zip file mp3play_source.zip with the source code.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: