vb中怎么让WindowsMediaPlayer1一开始就播放并循环
代码是这样的PrivateSubForm_Load()WindowsMediaPlayer1.URL=("D:\叶子\音乐.mp3")EndSubPrivateSubWi...
代码是这样的
Private Sub Form_Load()
WindowsMediaPlayer1.URL = ("D:\叶子\音乐.mp3")
End Sub
Private Sub WindowsMediaPlayer1_PlayStateChange(ByVal NewState As Long)
If NewState = 1 Then
WindowsMediaPlayer1.Controls.play
End If
End Sub
可是不行,,哪位高手看一下指点指点 展开
Private Sub Form_Load()
WindowsMediaPlayer1.URL = ("D:\叶子\音乐.mp3")
End Sub
Private Sub WindowsMediaPlayer1_PlayStateChange(ByVal NewState As Long)
If NewState = 1 Then
WindowsMediaPlayer1.Controls.play
End If
End Sub
可是不行,,哪位高手看一下指点指点 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询