Embed Powerpoint into C# application

G

Guillaume

Hi,

I'm working on a prototype application which open PowerPoints (.ppt and
..pptx), plays the animations and provide a control on this animation
(previous slide, next slide, exit, reset ...)

I would like to embed the actual animation in a form's panel.

so far I used :
IntPtr screenClasshWnd = FindWindow("screenClass", null);
SetParent(screenClasshWnd, this.panel1.Handle);

where panel1 is the panel containing the PowerPoint.

It is working but I was wondering if there was a better way of doing this :
without the IntPtr.

I'm asking that since I would like to make the same kind of program with
Silverlight. I can open the PPT with Silverlight but the animation is on top
of the webbrowser, not embeded into the Silverlight animation ...

If someone had a hint, that'd vbe great !

Thanks in advance

Guillaume
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top