TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
morpheus2matrix
NA
27
0
Playing a MP3 file with C#
Dec 11 2003 6:26 PM
I would like to know if it was possible to play MP3 files in C# ? Because i've try with is and it doesn't seems to work : [ DllImport("winmm.dll") ] private static extern int PlaySound ( string pszSound, int hmod, int flags ); private string sMusiqueFond = Application.StartupPath.ToString() + "\\sons\\monde.mp3"; PlaySound(sMusiqueFond, 0, 1); but this only produce a bip. If i use a wav file, it's ok but wav are too big so i want to be able to use a MP3 file. Any ideas ? Thanks
Reply
Answers (
12
)
C# And VB.NET
C# here to stay?