Private Sub WindowsMediaPlayer1_StatusChange()
If WindowsMediaPlayer1.playState = 1 Then
WindowsMediaPlayer1.URL = App.Path & "\test.mp3"
End If
End Sub
程序打开的时候放了一首歌,播放完成后,为什么声音没有自动播放test.mp3呢?
If WindowsMediaPlayer1.playState = 1 Then
WindowsMediaPlayer1.URL = App.Path & "\test.mp3"
End If
End Sub
程序打开的时候放了一首歌,播放完成后,为什么声音没有自动播放test.mp3呢?
If WindowsMediaPlayer1.playState = wmppsStopped Or WindowsMediaPlayer1.playState = wmppsMediaEnded Then Call Playmusic(0)
End Sub