Hi! I've tried to put a ppt file into my website (.aspx). I used a Microsoft.Office.Interop.PowerPoint namespace and it works fine but I want to display my presentation just in a web browser (especially IE, in a frame or something like this), not in a separate window. Is there any possibility to do so?
Just link it to the ppt. It will open automatically in the web browser.
If you simply link to the PPT file, and the user's machine has PPT installed, then following the link should open it in the same browser window. Otherwise, they'll need to download and install the free PPT viewer (available from microsoft.com). If they don't have either full PowerPoint or the viewer, it will ask them where to download your PPT file to (and they won't be able to open it).
Alternatively, for portability, you may consider saving your PPT as a series of JPG or PNG images (in PowerPoint go to "File">"Save As" and set "Save as type:" to JPEG or PNG). However, you will loose any slide transitions, sounds and effects, and I'm not sure if there's a way to batch-save all slides using this method.
Or, you could go to "File">"Save as Web Page" (and you may wish to choose the "Publish" button for more options). However, I don't know if this will even keep your layout, maybe only your slide outline/content.
It all depends on your PPT presentation and target audience. Most people have either Microsoft Office or OpenOffice.org, but a link to the viewer on your refering page would be a good idea.
Thanks for response! The problem is that I want this ppt file on a asp.net website... I'm thinking of displaying a presentation in one part of a browser's window and in the second part: menu, text and so one. So a link is not a good solution because presentation will take the whole window. Do you have any ideas how to do it without frames and href's or changing ppt into flash file?
PS Even when I use href and my master page, after clicking on a link, I can't see my master page, just the presentation in the whole window :(.
--- EDIT Users will have at least a PowerPoint Viewer. Unfortunately I can't change a ppt into html or jpg's because there will be ppt files uploaded by users on the server... Not a single ppt file but many of them.
Two ways you can use: **1. Upload your PowerPoint presentation on some slideshare sites as Thomas said. It will generate some codes, put these codes on your site. **2. Convert your PowerPoint to Flash with a third tool such as Wondershare PPT2Flash then you can upload your presentation on your site directly.
Hope can help you@~