GeeCON Prague 2014*
The moose likes HTML, CSS and JavaScript and the fly likes Excel & MS Word files with IFrames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Excel & MS Word files with IFrames" Watch "Excel & MS Word files with IFrames" New topic
Author

Excel & MS Word files with IFrames

Venkata Pavan Mandalika
Greenhorn

Joined: Apr 24, 2007
Posts: 2
I'am trying to create a simple HTML page with Iframes.I came across this weird problem of not being able to embed excel or word files in the Iframe.All I get is a file download dialog box when any of the above format files were used in the "src" of Iframe.However I do not have this problem in viewing PDF or TXT or GIF files.Please view my code below :

<html>
<table height="50%" width="50%" cellpadding="0" cellspacing="0">
<tr>
<td>
<IFRAME src="C:/sample.xls" height="460" scrolling="auto" align="center" frameborder="1"></IFRAME>
</td>
</tr>
</table>
</html>

Could any one suggest if I'am missing something.I'am not sure but does this have something to do with IE options.
Thanks in Advance.
Venkata Pavan Mandalika
Greenhorn

Joined: Apr 24, 2007
Posts: 2
Could someone please suggest an solution for my problem below.
Thanks much.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Excel & MS Word files with IFrames