Solved

Powerpoint in Webbrowser control

Posted on 2007-11-16
7
1,239 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

777 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