how can i play music in C# visual studio please give a simple example.

Recommended Answers

Google 'MP3 player in C#'.

Also have a look at these links:

Existing DaniWeb thread

This is a thread on the MSDN forum on the same …

Jump to Post

All 2 Replies

Simply you add a window media player from toolbar to form.n then creat a plylist of songs with any name.write a code behinde a form load this:- WMPLib.IWMPPlaylistArray playList = ax_media.playlistCollection.getByName("asad");
ax_media.currentPlaylist =playList.Item(0);
and then play your application play music.""thanks""

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.