2 Replies - 14738 Views - Last Post: 07 May 2009 - 08:36 AM Rate Topic: -----

#1 ADK_007  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 17-April 09

How to create a PLAY LIST in Media player in C#

Post icon  Posted 07 May 2009 - 04:34 AM

I added a windows media player to my project and i want to know two things...

1) how to create a play list for it??

2) how to add files that are in the RESOURCE for it??

Please help me.......
Is This A Good Question/Topic? 0
  • +

Replies To: How to create a PLAY LIST in Media player in C#

#2 papuccino1  Icon User is offline

  • His name was Robert Paulson.
  • member icon

Reputation: 62
  • View blog
  • Posts: 1,121
  • Joined: 02-March 08

Re: How to create a PLAY LIST in Media player in C#

Posted 07 May 2009 - 05:24 AM

To create a playlist you could create a List<> that hold the songs string path, and just cycle though it using an Index. Make a ListBox and just have the DoubleClick event check what the index is and play that index List[i].
Was This Post Helpful? 2

#3 lesPaul456  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 173
  • View blog
  • Posts: 729
  • Joined: 16-April 09

Re: How to create a PLAY LIST in Media player in C#

Posted 07 May 2009 - 08:36 AM

View PostADK_007, on 7 May, 2009 - 05:34 AM, said:

I added a windows media player to my project and i want to know two things...

1) how to create a play list for it??

2) how to add files that are in the RESOURCE for it??

Please help me.......


Look into theses classes from the "WMPLib" namespace: "IMPlaylist", "IWMPlaylistArray", "IWMPMedia".
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1