M
Messer
hello,
i'd like my application to play video "friday.wmv" just after "monday.wmv".
i don't want to use a playlist. the wmp is deaf just after playing the first
video. what am i doing wrong?
windows xp, wmp 9
the code:
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyBase.Load
player.URL = "c:\temp\monday.wmv"
player.Ctlcontrols.play()
End Sub
Private Sub player_PlayStateChange(ByVal sender As Object, ByVal e As
AxWMPLib._WMPOCXEvents_PlayStateChangeEvent) Handles player.PlayStateChange
If e.newState = 1 Then
player.URL = "c:\temp\friday.wmv"
player.Ctlcontrols.play()
End If
End Sub
i'd like my application to play video "friday.wmv" just after "monday.wmv".
i don't want to use a playlist. the wmp is deaf just after playing the first
video. what am i doing wrong?
windows xp, wmp 9
the code:
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyBase.Load
player.URL = "c:\temp\monday.wmv"
player.Ctlcontrols.play()
End Sub
Private Sub player_PlayStateChange(ByVal sender As Object, ByVal e As
AxWMPLib._WMPOCXEvents_PlayStateChangeEvent) Handles player.PlayStateChange
If e.newState = 1 Then
player.URL = "c:\temp\friday.wmv"
player.Ctlcontrols.play()
End If
End Sub