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.![]()