Page 1 of 1

Dual Playlist Listbox

PostPosted: Mon Apr 01, 2019 11:12 am
by Sk8cynic
Hi Guys,

I'm trying to construct a dual listbox where I can load a folder full of m3u playlists or just one m3u playlist into a listbox (on the left side), then either double-click, select or use another button in the middle of the two listboxes to have the contents (songs) of the selected playlist appear in the right-hand listbox and then play each song with the player. I have attached a marked up example. Any help would be much appreciated and you have a better idea or way to do this, by all means feel free to educate me!

Thanks!

Re: Dual Playlist Listbox

PostPosted: Mon Apr 01, 2019 6:47 pm
by dgilmour
What's difficult to search for files in the folder, load search results to the first list box and then load content of selected playlist to the second list box?

Re: Dual Playlist Listbox

PostPosted: Tue Apr 02, 2019 4:44 pm
by Sk8cynic
Hi,

I need the necessary code to make the program work. I'm a novice at this, not a seasoned programmer.....
Thanks!

Re: Dual Playlist Listbox

PostPosted: Wed Apr 03, 2019 3:03 pm
by dgilmour
This is simple enough to learn it from samples and help file, why wouldn't you try this way?
The first step is search for m3u files, then load search results in the first list box. Read about SearchForFiles and ListBoxAddItem commands.