0

Im using a trackbar to change the current time position of the video displayed on a windows media player.

The trackbar maximum value is whatever the length (in seconds) of the video is.

So i need help with how to change the current time on a windows media player.

I am not having difficulty i just need to know how to do it.

Im not sure if there are several ways to embed windows media player into vb, so im just gonna clarify that i didnt install/download anything i just used the one that came with windows media player.

Cœur
  • 37,241
  • 25
  • 195
  • 267

1 Answers1

0

Use The currentPosition property of CtlControls.

player.Ctlcontrols.currentPosition = CDbl(10.4)
Justin Ryan
  • 1,409
  • 1
  • 12
  • 25