Hi,
I am new in this site, a new member. If I have something rude on writing, please tell me. Thanks.
I want to produce my own form which can play mp3 files.
The idea is simple. The form got a button or a label showing the title of a mp3 song file. When the user click on that button, the mp3 song will play with the window media player. That's all.
But I don't know how to write those in code.
Help me, please?
Waiting for coding...
Loading
Hiren SoniPosted Dec 23, 2009, 9:11 PM
Hiren SoniPosted Dec 23, 2009, 9:24 AM
System.Diagnostics.Process.Start(@"d:\Songs\1.mp3")
this will open and play mp3 song in default mp3 player. So if you want to play in windows media player than set media player as default
paul danielPosted Dec 23, 2009, 8:15 AM
This link will usefull to u
http://discuss.itacumens.com/index.php?topic=39820.0
TrinityPosted Sep 27, 2009, 12:34 PM
System.Diagnostics.Process.Start(@"%Here the mp3 path%");
Or you can download this COM assembly from the internet
http://www.dll-files.com/dllindex/dll-files.shtml?winmm
Add call its functions using the Invoke platform given that is writtenin unmanaged code