I now am trying to use the Media player internal playlist feature but I am
getting stuck on what to put where I have the ??? in the code below. Can you
shed some light on what I need to do here?
+++
' add the two mp3's to media collection
AxWindowsMediaPlayer1.mediaCollection.add("First.m p3")
AxWindowsMediaPlayer1.mediaCollection.add("Second. mp3")
' create the new playlist
AxWindowsMediaPlayer1.playlistCollection.newPlayli st("MyProgramMadePlaylist")
' add the two mp3's to the new playlist
AxWindowsMediaPlayer1.currentPlaylist.appendItem(? ??)
AxWindowsMediaPlayer1.currentPlaylist.appendItem(? ??)
' will by default autoplay this playlist
AxWindowsMediaPlayer1.currentPlaylist =
AxWindowsMediaPlayer1.playlistCollection.getByName ("MyProgramMadePlaylist").Item(0)
+++
"BobAchgill" wrote:
How can I best play several mp3 files one immediately after the other?
Will this tie up the AxWindowsMediaPlayer1 instance such that I can't use
the instance again until the files finish playing or can I break out of this
"playlist" early?
Thanks!
Bob