here's the code im using:
Code: Select all
Dim i As Integer Dim search As String Set list = SDB.NewSongList ReDim songs(0) search = "'" & artists(artistList.ListIndex + 1) & "'" Set iterSong = SDB.Database.QuerySongs("Artist = " & search) SDB.player.playlistclear Do While Not iterSong.EOF list.Add (iterSong.Item) iterSong.Next Loop SDB.player.PlaylistAddTracks (list) 'this is in a different function, hence why i just dont populate the playlist in the while loop.
ive been programming for a while, but this is really the first time i've used the MM object and i've been using the Wiki extensivly, but that doesnt shed any light on my problem...
thanks for you help