locked
windows media player control in dotnet RRS feed

  • Question

  • Can we play media player control from a given time.

    i mean i have a time slot and want to play windows media player for that time slot.

    Thursday, April 1, 2010 6:19 AM

Answers

  • Try changing Ctlcontrols.currentPosition.

    The total duration can be retreived from currentMedia.duration.

    For example do this to start from the middle of a file:

    axWindowsMediaPlayer1.Ctlcontrols.currentPosition = (axWindowsMediaPlayer1.currentMedia.duration / 2);

    Thursday, April 1, 2010 9:25 AM