use vba to drive a quicktime movie?

Started by Brenda [msdn/isv] at 03-18-2005 5:38 PM. Topic has 1 replies.
This request came in via our MSDNISV alias:

I was wondering if I could use vba to drive a quicktime movie. Currently, I’m running a jsp page to run aqt movie. Thepagealso has a feature that allows the usermove the video to a desired frame. Recently, I’ve experienced problems with the page because it is not compatible with the newest version of quicktime. So, I would like to know if vba could be used with the following functionality:

·Load a quicktime movie
·Pause a qt movie
·Play/Stop/FF/Rew a qt movie
·Move the movie to adesiredframe

Re: use vba to drive a quicktime movie?
ReplyQuote
If you can use Windows Media player to play the movie, you certainly can. Even if you can't use WMP, it's likely that it's possible. The issue is to find a COM (ActiveX) component that can display the movie. WMP is completely "programmable" from VBA, and I'm sure other players are, as well. If you add a reference to the COM component, just like any other ActiveX control, then you should be able to program it. I wrote an article years ago on programming ActiveMovie (the predecessor to WMP), and it was all pretty easy back then. Look for a COM component that can play quicktime movies, and you have your solution. -- Ken

[4225 byte] By [ISVBuddyTeam] at [2008-1-12]