(Solved) – Problem with Windows Media Player ActiveX control in VBA Powerpoint

  • by
(solved)-–-problem-with-windows-media-player-activex-control-in-vba-powerpoint

it’s me and my projects for school again. This time I wanted to insert a video into PowerPoint using file path via WMP ActiveX, so I drew one as follows: (uiMode set to "none")

When the slide show starts, I transfer all data from an Excel file to the presentation, including the paths to the video. Then I hide the WMP with Slide85.WMP.uiMode = "invisible".

When the time comes, I want the WMP to appear at the original size that i drawn and the linked video to play, so I used these codes:

Slide85.WMP_TT.uiMode = "none"
Slide85.WMP_TT.URL = "C:inetpubwwwrootTT2.mp4"
Slide85.WMP_TT.Controls.Play

Already muted the video by changing the settings in the Properties tab.

Then the result came out like this:

enter image description here

The video still plays, but only with sound, which is impossible because I muted the control. No visual images is shown from the video, and the control’s dimensions changes too.

As of now I cannot think of any causes to this problem. Please help me, I’d be very grateful.

Leave a Reply

Your email address will not be published. Required fields are marked *