-
Mar 31st, 2018, 04:04 AM
#1
Thread Starter
Lively Member
How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form
Hi, my project requires that I be able to play PowerPoint Presentations in slideshow mode (pps) within my application. I tried to use interop but it only opened PowerPoint outside my application. I was told I can use a web browser control but I have absolutely no idea how that control works. Can somebody please shed some light if what I am trying to do is possible?
-
Mar 31st, 2018, 04:17 AM
#2
Re: How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form
With regard to the WebBrowser control, it works pretty much exactly like an instance of Internet Explorer. In IE, you can type a PowerPoint file path into the address bar and it will load the PowerPoint ActiveX control and load the file, just as in a PowerPoint instance. The same goes for a WebRowser control. You just call Navigate and provide the file path.
-
Apr 8th, 2018, 06:19 AM
#3
Thread Starter
Lively Member
Re: How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form
Hmmm sorry would you mind giving an example about the navigate part?
-
Apr 8th, 2018, 06:49 AM
#4
Re: How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form
I don't provide examples of anything that simple.
-
Apr 8th, 2018, 06:51 AM
#5
Addicted Member
Re: How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form
webbrwoser1.navigate(yourpath)
-
Apr 8th, 2018, 07:03 AM
#6
Thread Starter
Lively Member
Re: How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form
Originally Posted by Beanoid
webbrwoser1.navigate(yourpath)
But this only opens the ppt application and not run the ppt within the app
-
Apr 8th, 2018, 07:51 AM
#7
Re: How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form
Originally Posted by astrid22
But this only opens the ppt application and not run the ppt within the app
If the path is to a PPT file then it will open that file. If the presentation in that file is configured to run automatically then it will do so. I don't actually know whether that's possible but I would have thought that it would be.
-
Apr 8th, 2018, 07:56 AM
#8
Thread Starter
Lively Member
Re: How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form
Originally Posted by jmcilhinney
If the path is to a PPT file then it will open that file. If the presentation in that file is configured to run automatically then it will do so. I don't actually know whether that's possible but I would have thought that it would be.
I tried to open a pps file but it only opened ppt application as well. I read about dsoframer, but I can no longer find it in Microsoft's website.
-
Apr 8th, 2018, 08:02 AM
#9
Re: How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form
I can't really tell you any more. The WebBrowser control simply loads the same ActiveX control that IE loads so it can do whatever IE can do and not do what IE can't do.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|