+ Reply to Thread
Results 1 to 7 of 7

Media Player versus Windows Media Player

Hybrid View

Guest Media Player versus Windows... 10-13-2005, 05:05 PM
Guest Re: Media Player versus... 10-13-2005, 10:05 PM
michelxld Hello you may try ... 10-14-2005, 12:14 AM
Guest Re: Media Player versus... 10-14-2005, 03:05 AM
michelxld Hello try this macro ... 10-14-2005, 03:38 AM
Guest Re: Media Player versus... 10-15-2005, 08:05 AM
Guest Re: Media Player versus... 10-15-2005, 02:05 PM
  1. #1
    teepee
    Guest

    Re: Media Player versus Windows Media Player


    "michelxld" <michelxld.1wvu6d_1129277112.9861@excelforum-nospam.com> wrote
    in message news:michelxld.1wvu6d_1129277112.9861@excelforum-nospam.com...
    >
    > Hello
    >
    > try this macro
    >
    > WindowsMediaPlayer1.currentMedia.duration
    >
    > or
    >
    > Dim ValMin As Double, ValSec As Double, S As Double
    > S = WindowsMediaPlayer1.currentMedia.duration
    > ValMin = Application.WorksheetFunction.RoundDown((S / 60), 0)
    > ValSec = Application.WorksheetFunction.RoundDown(S, 0) - (ValMin * 60)
    > MsgBox Format(ValMin, "00") & ":" & Format(ValSec, "00")


    Thank you. I will try it and let you know how it went

    tp



  2. #2
    teepee
    Guest

    Re: Media Player versus Windows Media Player

    Thanks. That also worked.

    Last one...

    Private Sub MP_PositionChange(ByVal oldPosition As Double, ByVal newPosition
    As Double)
    Application.Cells(1, 1) = newPosition
    End Sub

    Needs to go to WindowsMediaPlayer. And need to reference worksheet sheet
    'results' rather than the same sheet.

    Any idea?




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1