I've tried to view an HTML file as a word document using
Response.ContentType = "application/msword"
and it looks fine using word2000 and word xp.
But in word97, I'm not able to view it.
Is there anyway that I can solve this?
do it as word97, 2k will convert it on opening it, only issue is if this is originally a word2k file, there may be some version differences, and you may need to save the document as a prior version
Let me explain more details! My meaning is the command is for ASP page, I have a page (report.asp), When I submit a page then there will be pop up the report.asp, and this report can view on office 2000, but in office 97 can't read and display the code of report.asp.
Instead of rendering HTML in your report.asp try rendering RTF (a very complex text based markup language). You will need to find an RTF standards manual somewhere.
If you render RTF it should work for ALL versions of Word.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.