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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.