Click here to Skip to main content
14,698,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am making a document viewer. in that i want to open PPT document in iframe,so user can just see it.

i used this code
<iframe id="myframe" src=""></iframe>
code behind i used
in page load
but its not displaying my ppt file

Please help me soon ..

1 solution

I'm not sure why you think it should. I am pretty sure there's no standard browser functionality to display PPT files.
Pradeepkumar patil sonu 19-Dec-12 7:08am
Thanks for Replying sir
But Sujjest me To display ppt files what can i use instead of iframe
Christian Graus 19-Dec-12 14:52pm
If you want to show them in a web page, you might decide to show them in an iframe ( which is just another browser instance on the same page ), but your browser needs to know how. So you'd need to buy a plugin and all your users would need to install it. Or you'd have to find a way to turn a ppt in to HTML, and serve the HTML to the browser, probably also via a commercial plugin

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900