I've been looking for a way to do this too. I've seen suggestions to
use Word automation:
Server.CreateObject(Word.Application)
But there's a lot of problems, since now winword.exe is running as
iusr_*. As soon as I try to open a doc (or create a new one) I get
"cannot open macro storage" since the user registry hive is not loaded
for the IUSR user. I don't yet know how to work around this. The
official MS line I've seen is "don't do this, office is not designed
for ASP use". Great.
I have similar needs; I need to be able to read the contents of a Word
..doc file from ASP. I don't care about images and tables like Jason
does, that may make it a bit harder.
So the question remains: is there a way to take a word .doc file and
either read the contents with ASP, or convert it to HTML?
PS. Please, no suggestions on adding response.addHeaders to open with
word on client side, or how to create. Those are great. Those are not
related.