Hi,
I'm in the process of converting my mini media player that current uses Windows Media Player to use the code that MarkT posted here. Every thing appears to be working expect for this code used to play the next song in the list which, (from what I can remember) worked with Windows Media Player
Thanks,
Nightwalker
Edit:
If I disable the call to the above code the song plays fine however, if the above code is executed the song does not play.
I'm in the process of converting my mini media player that current uses Windows Media Player to use the code that MarkT posted here. Every thing appears to be working expect for this code used to play the next song in the list which, (from what I can remember) worked with Windows Media Player
vb Code:
Public Sub nSong() If Not player.Status = "playing" Or Not player.Status = "paused" And frmSetup.Songopt(1).Value = True Then frmMain.mnuForward.Checked = False frmMain.mnutrayFastForward.Checked = False 'Play the next song in the list frmMain.lblTitle.Caption = "Title:" frmMain.lblArtist.Caption = "Artist:" frmMain.lblAlbum.Caption = "Album:" frmMain.lblYear.Caption = "Year:" frmMain.lblComment.Caption = "Comment:" frmMain.lblGenreCode.Caption = "GenreCode:" If s >= frmSetup.Lstsongs.ListCount And frmMain.mnuRepeat.Checked = True Then s = 0 Else s = s + 1 End If play (s) End If End Sub
Thanks,
Nightwalker
Edit:
If I disable the call to the above code the song plays fine however, if the above code is executed the song does not play.