Consulting

Results 1 to 5 of 5

Thread: Excel VBA with Windows Media Player: Runtime error while getting video timecode

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,709
    Location
    First, I would never use "controls" as a variable name because it is a Key Word in VBA. I suspect that "Media" is also a Key Word.. I suggest "Ctrls" and "MdiaPlyr."

    Try using currentPosition, a Double, or currentPositionString, a String, instead of currentPositionTimeCode, also a String. Just to see what happens.

    THere is a slim chance that you must use IWMPControls or IWMPControls2.

    Sometimes you have to cast many spells to see which one makes the pot boil.
    Last edited by SamT; 06-19-2017 at 06:13 PM.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

Tags for this Thread

Posting Permissions

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