Solved

Powerpoint in Webbrowser control

Posted on 2007-11-16
7
1,233 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
3 Use Cases for Connected Systems

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

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now