By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,162 Members | 1,380 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,162 IT Pros & Developers. It's quick & easy.

windows media player problem

P: n/a
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

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.