09-07-2003, 11:14 PM
I have a webrowser in the making, and im wanting to put a mp3 player built in, im having troubles listing the mp3's through a drop down, i need the dropdown on the click sub to list all the mp3's into itself, then when clicked the mp3 gets played..i can handle the end but the listing i cant figure out. any suggestions would be great.
09-08-2003, 07:11 AM
What do you mean listing them? Where does the list come from?
You can use the ListBox.AddItem method to add an item to the listbox.
09-08-2003, 09:30 AM
May be this helps...
If all u'r file in the folder is MP3 then U can try this
The Code Will list all the files in the folder in a Combobox
Public Sub MP3List(sFolder As String, cboFile As ComboBox)
Dim sFile As String
sFile = Dir(sFolder, vbNormal)
Do While Len(sFile)
sFile = Dir
MP3List "C:\Folder\", Combo1