Solved

Powerpoint in Webbrowser control

Posted on 2007-11-16
7
1,250 Views
Last Modified: 2012-06-21
I am showing a power point presentation inside a webbrowser control (.Net 2.0)
But the problem is :
Everytime i run the application the webbrowser control asks me with a dialog open,save or cancel.
There is any way to don't let this dialog not showing?

Or there is a better control to show powerpoint presentations in.


VB.Net Windows Applications .Net 2.0

Thanks
0
Comment
Question by:amrelgarhy81
  • 3
  • 3
7 Comments
 
LVL 16

Expert Comment

by:McExp
ID: 20300570
Powerpoint is not really designed to be played inside of a browser. Powerpoint will only work on computers that have Powerpoint installed and if a user has it. The application will be used. You can save a powepoint presentation as a Web Page, this will make it display in a web browser.
0
 
LVL 1

Author Comment

by:amrelgarhy81
ID: 20300604
no, i want to show the powerpoint presentation on my VB.Net windows form
0
 
LVL 16

Expert Comment

by:McExp
ID: 20300832
It's all reated though. My understanding is that it's all to do with mime types. If you see the same when you try and view the PPT thorugh your normal Web Browser it's not realted to you app and is a machine specific issue.
0
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
LVL 1

Author Comment

by:amrelgarhy81
ID: 20300852
So how can i hide this dialog from showing??!!
0
 
LVL 21

Expert Comment

by:GlennaShaw
ID: 20300856
Do you have animations on the presentation?  If not, consider saving the slides as images and using those.
Better yet, check out SlideShare.net and see how they've done it.
0
 
LVL 1

Author Comment

by:amrelgarhy81
ID: 20300899
It may contain animations
0
 
LVL 16

Accepted Solution

by:
McExp earned 125 total points
ID: 20301017
The WebBrowser control works just like having IE embeded in your app. the following describes how to change the setting for IE. This will have to be done on every client and you can't be sure they won't un-set it after you've gone. I Certainly would it drives me crazy when Office docs open in IE.

it is not controlled by Internet Explorer, but by Windows Explorer. In Windows Explorer menu, select Tools menu, Folder Options... menu item, File Types tab. Click on the file extension of the file type you want to change, e.g., PPT, and click Advanced push-button. You make the PowerPoint presentation appear in the IE browser window from which it was selected by checking the box labeled "Browse in same window". Unchecking it will cause PowerPoint presentations accessed from the IE browser to open in their own separate window. Click OK pushbutton to save your changed setting. Of course you must have PowerPoint installed on your PC to view PowerPoint files.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question