Tech Off Thread

6 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Get current timestamp from WMP control?

Back to Forum: Tech Off
  • User profile image

    Anybody know if you can get the current timestamp from a windows media control?


  • User profile image

    hellew? Smiley

  • User profile image

    jsampsonPC wrote:
    ...current timestamp from a windows media control

  • User profile image

    Minh wrote:
    jsampsonPC wrote:...current timestamp from a windows media control

    Current amount of time that has played with the current media.

  • User profile image
    Ion Todirel

    use Ctlcontrols.currentPositionString property.

    If your control is named: player, then player.Ctlcontrols.currentPositionString

    EDIT: And use a timer to update a label text at every 500ms or something.

  • User profile image

    And if you're using the ActiveX control embedded in a web page the property is "p.controls.currentPosition" where p is equal to the object element.  The value returned is the number of seconds.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.