|
Thread: avi
-
Jul 26th, 2003, 12:52 PM
#1
Thread Starter
Fanatic Member
avi
Hi,
to get the .avi to work there is only one problem right now and wonder if you can see what it is.
In this button event as follows the error is reported as:
pause is not a member of system.windows.forms.control.controlcollection
the same error is reported for play and stop
this is the code
Thanks
Private Sub btnPlayPause_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPlayPause.Click
Select Case player.playState
Case WMPPlayState.wmppsPlaying
player.Controls.pause()
Case WMPPlayState.wmppsPaused
player.Controls.play()
Case WMPPlayState.wmppsStopped
player.Controls.play()
End Select
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|