Changed page type???

J

jjprescott

One of my .htm pages now shows a Microsoft Word icon instead of the square
with a circle in it. It will not open if I click on it, but will open if I
right click (only in folders view) and select "open with" then "Front Page
(open as HTML)". I can then edit and make changes and publish it. The remote
web site is also showing the "word" icon. How can I get this .htm file back?
 
S

Steve Easton

Switch to code view and read the info at the top of the page.

Switch the Generator and program ID tags to these for FrontPage 2003

<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">

For FrontPage 2002:

<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">


And see if that fixes it.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
J

jjprescott

Thanks Steve. I added the lines (I have FP 03) and it now works. The
following code is on the first line of this page only. Could this have caused
the problem?

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:eek:="urn:schemas-microsoft-com:eek:ffice:eek:ffice"
xmlns="http://www.w3.org/TR/REC-html40">
 
S

Steve Easton

Yep, that was the problem.

When you try to open a file created with an office application, the file is checked for
that header info, which is how "Office" determines which application to use to open the
file.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
S

Steve Easton

Sorry.

Yes and replace it with what I posted.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
Top