Hi to everyone. To site ADMIN - sorry for the previous nick.
I've been making some kind of an MP3 player. The following has been done so far. There are three folders with MP3 files and three buttons for them. Clicking on a button we search *.mp3 in a particular folder and add filenames to a ListBox. When a song is selected, ListBox Object gets ItemData On Selection Changed and loads the song. Then we just need to press "Play".
But this way I can listen just to one song from the list. What I'm trying to do (unsuccessfully so far) is to make ListBox Object getting ItemData of all selected Filenames (Select All ) with Index from 0 'till the last adding by one automatically, then load a new MP3 file and play it, i.e. I'd like to have all the files in the listbox played. ListBox may be different from the first one (even hidden).
Well, that's shortly it. Will be thankfull for any help.
P.S. I tried the variant with PlayList (edited for playing from CD directly) but it worked only with WinAmp installed (Media Player didn't open m3u list). In other words, I'd like to use built in global MP3 player only.
I've been making some kind of an MP3 player. The following has been done so far. There are three folders with MP3 files and three buttons for them. Clicking on a button we search *.mp3 in a particular folder and add filenames to a ListBox. When a song is selected, ListBox Object gets ItemData On Selection Changed and loads the song. Then we just need to press "Play".
But this way I can listen just to one song from the list. What I'm trying to do (unsuccessfully so far) is to make ListBox Object getting ItemData of all selected Filenames (Select All ) with Index from 0 'till the last adding by one automatically, then load a new MP3 file and play it, i.e. I'd like to have all the files in the listbox played. ListBox may be different from the first one (even hidden).
Well, that's shortly it. Will be thankfull for any help.
P.S. I tried the variant with PlayList (edited for playing from CD directly) but it worked only with WinAmp installed (Media Player didn't open m3u list). In other words, I'd like to use built in global MP3 player only.
Comment