Home > Software engineering >  O made video player with vs2005 fast-forward 30 seconds to retreat quickly function code
O made video player with vs2005 fast-forward 30 seconds to retreat quickly function code

Time:09-22

I made a video player with VS2005, want to add accelerate into the fast rewind function of 30 seconds, 30 seconds for code, a great god action,
I use the following code does not apply, however, suggests "currentPosition" is not "system. Windows. Forms. Control. Controlcollectiong" members of the

Private Sub Button1_Click (ByVal sender As System. Object, ByVal e the As System. EventArgs) Handles for. Click

WindowsMediaPlayer1. Controls. CurrentPosition=WindowsMediaPlayer1. Controls. CurrentPosition + 30

End Sub

CodePudding user response:

According to the detailed usage AxWindowsMediaPlayer
. Use the Ctlcontrols currentPosition , about Controls is a member of the base class Control,

CodePudding user response:

Look at whether currentPosition case is wrong, use the IDE autocomplete drop-down to write
  • Related