vb播放器问题 没有声音
PrivateSubcmdPaly_Click()DimiAsIntegerFori=0ToMe.lstBox.ListCount-1If(Me.lstBox.Selec...
Private Sub cmdPaly_Click()
Dim i As Integer
For i = 0 To Me.lstBox.ListCount - 1
If (Me.lstBox.Selected(i) <> False) Then
Me.WindowsMediaPlayer1.URL = Me.lstBox.List(i)
End If
Next i
WindowsMediaPlayer1.Controls.play
Me.cmdPaly.Visible = False
Me.cmdHold.Visible = True
End Sub 展开
Dim i As Integer
For i = 0 To Me.lstBox.ListCount - 1
If (Me.lstBox.Selected(i) <> False) Then
Me.WindowsMediaPlayer1.URL = Me.lstBox.List(i)
End If
Next i
WindowsMediaPlayer1.Controls.play
Me.cmdPaly.Visible = False
Me.cmdHold.Visible = True
End Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询