Word file in IE

C

colin

Hi, all:

I have a problem:
The simpler version of HTML file is like below:

***********************************************************
**********
<!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.0
Transitional//EN">
<html>
<head>
</head>

<body>
<form name="MainForm">
<!-------- body table start --------->
<table cellspacing="20" cellpadding="0" border="1"
width="100%">
<tr>
test file
</tr>

<tr>
<td height="1000">
<iframe
name="DocumentFrame" src="test.doc" width="100%"
height="100%" hspace="0" vspace="0" scrolling = "auto"
marginHeight="0" marginWidth="0" frameborder="0">
</iframe>
</td>
</tr>
</table>
</form>
</body>
</html>
***********************************************************
**********

save this file and the word file named test.doc in the
same directory
when you open this html file, the word file is opened as
usual,
but why the word editor is pop up of the IE window?
how to embed the work editor inside the IE window?

If I am not clear enough, you can change the
src="test.doc" into src="test.pdf"
and open it again, you will see the result, the acrobat
reader is inside
the IE window, of course you should have a file named
test.pdf in the same
directory.

The phenomenon happened when I use IE version 6.0 and OS
window 2000.
I moved the same files to the OS windows XP, the editor
will embed inside the
IE window, who can tell me the reason? how to change the
word editor inside
the IE window whatever version windows I use?



thx.
 
B

brian [MSFT]

What you are talking about is active document hosting. The following steps
work on Windows XP and Windows 2000:

1. Open Control Panel

2. click on Tools \ Folder Options

3. select the File Types tab

4. scroll down to the entry "DOC Microsoft Word Document"

5. highlight this entry

6. click on Advanced (lower right)

7. make sure that the box "Browse in same window" is checked.

8. click OK and close the UI

Refresh your web page example and the document should be hosted inside of
the IE window.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top