|
-
Dec 30th, 2000, 02:02 PM
#1
I am designing an MP3 player using windows mediaplayer. I have a listbox for a playlist that contains paths to mp3's. Want I want to do is have the listbox display anything i want(eg. tag info) but when mediaplayer looks to the listbox for it's next song it will see the path to the file. Is there a way i can do this? If there is could someone lend some code? Thanks in advance.
-=ATommasi=-
-
Dec 30th, 2000, 03:08 PM
#2
Lively Member
I think the best way to do this would be to create an array that contains all the information that you need to display and then also the path location to the file..
-
May 2nd, 2001, 03:48 PM
#3
New Member
MediaPlayer and Listbox
Try this, change your listbox to a listview. Every time you add an item to the list, set the KEY equal to the path of the music file. Then call upon that KEY when an item is clicked. Hope this works.
-
May 2nd, 2001, 03:53 PM
#4
Thanks anyway
Well, in the six months since i posted the first message, i completly rewrote my MP3 player, not using mediaplayer anymore, or a listbox. But thanks anyway.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|