Control Windows Media Player using VBA in PowerPoint

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Mike M. (nospam_at_someplace.com)
Date: 04/08/04


Date: Thu, 8 Apr 2004 09:16:22 -0400

Windows 2000, XP. PowerPoint XP. I am writing and addin to recognize
placeholder shapes and play a video using WMP 9. I do not want a form or
anything else visible except WMP. The only way I could get the Windows
Media Player control is to add it to my toolbox and drop it on a user form.
I guess you can't create an instance of a control without a form to be
placed on in VBA. Is that true? I want to show the video clips full screen
so I make the form occupy the complete screen and make the control the same
size as the form. However, I can't get rid of the forms title bar. In VB I
can set the properties of the form so it doesn't have any title bar or edges
but not VBA. Is there a way to do this in VBA?

TIA



Relevant Pages

  • Re: Windows Media Player Add-in Problems
    ... > play the video. ... > Using a HyperLink, setting the target to the same video and the target ... WMP opens in ... > a new windows, buffering starts and then stalls at 1% or 3%. ...
    (microsoft.public.frontpage.addins)
  • Re: Error C00D1199: file either corrupt or incorrect format.
    ... Windows Media Player cannot play the file, ... > I use WMP 10 on a Windows XP home edition ... > I was trying to open a downloaded video. ...
    (microsoft.public.windowsmedia.player)
  • Re: MPG Playback Problem
    ... See http://zachd.com/pss/pss.html for some helpful WMP info. ... Many of us had faced similar issues after the recent windows security ... heading "Black and White Video display in WMP10". ... as part of the WMP install. ...
    (microsoft.public.windowsmedia.player)
  • Re: Playing video off a web page
    ... whatever evil settings in QuickTime are having them retain that file type. ... See http://www.zachd.com/pss/pss.html for some helpful WMP info. ... > would open the video in windows media player 9. ...
    (microsoft.public.windowsmedia.player)
  • Re: Play TV in Windows Media Player?
    ... I think what we need is a Windows Video player, ... See http://zachd.com/pss/pss.html for some helpful WMP info. ...
    (microsoft.public.windowsmedia.player)