-
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=-
-
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..
-
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.
-
Thanks anyway
:D 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.