QTVRControlX FAQ: using in PowerPoint

Q Are there any more good-looking tutorials on how to use QTVRControlX in PowerPoint?
A Yes there are (please read this one too though):




Q How can I use a QTVR or other QuickTime movie inside a PowerPoint presentation on Windows?
A From a recent reply of mine to a similar enquiry:
you can use my QuickTime ActiveX control to view QT content in PowerPoint
(QT content shows up at presentation mode for now only, not in the slide design
view) on Windows:
http://members.fortunecity.com/birbilis/QT4Delphi/

don't get fooled by the QTVRControlX name, it doesn't play just QTVR movies...
see the FAQs on my website for more...

* see text below from a recent reply of mine to somebody asking how they can use
my control in PPT/Win:

Windows PowerPoint doesn't import QTVR etc. movies (anything above old QTW
[QT2 era] stuff) as the Mac version does. The Mac version uses the latest
QuickTime engine that's native in MacOS whereas the Windows version uses some
Microsoft code or maybe the old QuickTime for Windows from Apple (which can
coexist with the latest QuickTime on a machine)

So to use the latest QuickTime engine in PowerPoint you insert my control in it
and then via its properties you can set it to show the movie it wants (the movie
content will really show up when you enter presentation mode)

1) Assuming you logged in with administrator rights on your Windows XP machine
and run the automatic installer of my control (if not repeat the process) and
that you have also installed QuickTime5 or 6 (again logged in as administrator
[or as a user from the power users group], QuickTime won't install otherwise)

2) Right click at an empty area on the toolbar and select to show the Visual
Basic toolbar.

3) In that toolbar there's a button with a hammer and a screwdriver. Press it.
You should see an other toolbar called "Control Toolbox" which has a similar
button but with three dots "..." drawn on it (you could have selected to show
this toolbar at step #2 instead of showing the VB toolbar first, at least in
PowerPoint2000 where I'm trying it as I write to you)

4) Press the hammer&screwdriver button with the ... on it at the "Control
Toolbox" toolbar.

5) a dialog opens with all registered ActiveX controls in the system. Scroll the
list and find "QTVRControlX control" (or press the "Q" key several times on 
the keyboard till you find it). Click to select it

6) drag an area on a slide of yours and my control will be inserted there
(invisible, but shows selector boxes arround it when clicked)

7) right click on that object and at the popup that shows select "Properties" to
see the PowerPoint propeties list for that object (where you can set the full
path to a QTVR movie filename, set the ControllerVisible to true etc.) or select
"QTVRControlX Control Object" from the popup menu and at the subpopup it shows,
select "Properties" to see a property pages dialog. There you can set the
filename easier, there's a "..." button that opens up a QuickTime standard open
dialog with preview and you can select a movie etc.

8) enter presentation mode (e.g. from the View menu of PPT) and see your content

9) you must have set the ControllerVisible property to true (play with the other
properties as well) to be able to zoom in/out cause PowerPoint steals the
keypresses from my control and there's no way to zoom with the mouse if the QTVR
controller bar is hidden (the zoom buttons is on the controller bar of the
movie)

10) save your PPT. Reopen it to see it works OK. You'll need to have the
control installed on the machine where the movie opens. The unregistered version
will show a dialog. Ignore it or buy the registered version. The file path has
to be absolute, not relative to the movie (e.g. c:\test\mymovie.mov). I've added
some support for relative paths, but I haven't made it to have them work
relative to the movie, they seem to work relative to the power point
application's executable file

11) don't use the Insert>Object menu of PPT. You have to use the above process
(steps 5-10) for each movie you add (in the future I'll provide a button on the
PowerPoint toolbar or something like that)



Q Isn't the above a tiring thing to repeat every time?
A I agree, here's a process for modifying PPT's menu/toolbars to make this faster:

  1. right click any PPT menu/toolbars and select to show the "Visual Basic" toolbar
  2. at the VB toolbar click the button with the screwdriver and hammer to show the "Control Toolbox" toolbar
  3. at the "Control Toolbox" toolbar, notice (don't click) the "More Controls" button that shows a screwdriver and hammer together with a "..."
  4. right click any PPT menu/toolbars and select "Customize..." to show the menu/toolbar customize dialog
  5. while the Customize dialog is open (drag it from its title bar and move it out of the way at some convenient place), hold CTRL down (to do copy and not move operation) and drag the button mentioned at [3] above onto any toolbar you wish or even to the menu bar (say right after the "Help" command).
  6. Since you kept CTRL key pressed at [5] above, it was a copy (not a move) operation and you have an extra button on the menubar (the screwdriver+hammer+... one) that when pressed shows the list of all ActiveX controls installed.
  7. You choose one and then drag inside your presentation to insert it by defining its bounds (it may be an invisible control, but you still see a bounds selector box arround it when you click its area).
  8. right click the control and select "Properties" to see VBA's property list window with all the control properties
  9. right click the control and select "ActiveX control" submenu from the popup menu and then "Properties" and you'll see the control's Property Pages, if it defines any (it's the IPropertyPageProvider optional COM interface if I remember well). A property page is a custom GUI pane that allows one to configure a control (that GUI is defined by the control itself, not by PowerPoint or VBA as is done with the property list window)

In Powerpoint 2007, the toolbar customization dialog is a bit different: You can customize the "quick access toolbar" that's at the top-left of the PP2007 window by right clicking it and selecting "Customize Quick Access Toolbar..." and then adding (press "Add>>") the "More controls" icon with the hammer and the three dots that is at the category "Developer tab" (select the category at "Choose commands from" drop-down list)




Q How can I script the QTVRControlX in PowerPoint to start playing a QuickTime movie when a slide is shown in presentation mode?
A The following technique was sent by Bertrand Mathieu:

* create a class module ("Classe1").
* Define a variable for an Application that can receive Events (generated by Powerpoint) ("App").
* Specify the code to do when a given event occurs (in my case : next slide)
* Define a variable of type classe1 and initialize it : This must de bone in a module different from the class module (in my case in Slide1)

You might see : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000/html/pphowUsingAppEvents.asp

Here is the code :
* Class Module / Classe1:

Public WithEvents App As Application
Dim Sld As Integer
Private Sub App_SlideShowNextSlide(ByVal Wn As SlideShowWindow)
Sld = ActivePresentation.SlideShowWindow.View.Slide.SlideIndex
If Sld = 9 Then
Slide9.QTVRControlX1.GoToBeginningOfMovie
Slide9.QTVRControlX1.ControllerActive = True
Slide9.QTVRControlX1.StartMovie
End If
If Sld = 10 Then
Slide9.QTVRControlX1.StopMovie
End If
End Sub

* PowerPoint / Slide 1:

Dim X As New Classe1
Sub InitializeApp()
Set X.App = Application
End Sub




Q How can I have unattended powerpoint slideshows combined with movies?
A preparing some page for that, please have a look here




Q Isn't this a short FAQ?
A Sorry, need to reogranize the FAQ items that have to do with QTVRControlX and PowerPoint
For more info try this one