Sensei76,
There is no way outright to do this. What you need is an OLE container.
Unfortunately, MS didn't provide one with .NET 2.0. There was one in the
betas, but they removed it.
The best I can recommend is to use the one distributed with VB6, and use
that through interop.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mvp@spam.guard.caspershouse.com
"Sensei76" <Sensei76@discussions.microsoft.com> wrote in message
news:8EE3C791-4E12-418E-98E9-2CC41B68684A@microsoft.com...[color=blue]
> Hello, I have the following problem and I do not know how to accomplish
> this.
>
> I have an (existing) powerpoint presentation that should be displayed not
> within its own window, but within a control of my own form.
>
> So I added a reference to the Microsoft PowerPoint Object Library and
> tried
> to run a slideshow of the presentation. For this I am using those classes
> like PowerPoint.Application, PowerPoint.Presentation, PowerPoint.Slides,
> ...
> This works fine, as long as the slideshow runs in its own window.
>
> But I have no idea how to make the slideshow run within my form (or panel
> or
> pictureBox or whatever) - or if this is possibly at all. After several
> days
> of internet search I have got the impression that nobody else ever had the
> same intention...
>
> Does anyone have an idea?
> Thank you for any help.[/color]