Interfacing with powerpoint viewer from MFC application?

  • Thread starter Thread starter Paul Dennis
  • Start date Start date
P

Paul Dennis

I am looking for a few hints on how I may interface better with powerpoint
viewer from an MFC C++ app.

What I am trying to achieve is an application which can display the slides
that are available in a presentation on a control screen, then on a separate
monitor display the selected slide. Why am I not using a new version of
powerpoint that can do this sort of thing? Because I am trying to write an
integrated app that will be used to display songs at church and also be able
to control powerpoint etc.

What I have attempted so far is to use automation (as described on the ms
website), this has not proved entirely successful. I want to be able to show
the slide in one of my apps windows, rather than having a seperate instance
of powerpoint running with the slides displayed in a different apps window.
Also, with the current approach I have not been able to get the presentation
to show on the second monitor, it always starts on the primary one. I have
had a bit more success with Powerpoint, rather than the viewer, having been
able to move the app to the second monitor, but this is still in a seperate
window, rather than tightly integrated with my app.

Any pointers on how I might achieve my aims better would be much
appreciated.

Thanks
Paul
 
Paul, You are likely better off with real PPT rather than the Viewer
which has a very limited object model exposed.

You also might look at the MSKB for information about displaying a PPT
slide in a userform which might help you out.

Brian Reilly, PowerPoint MVP
 
Back
Top