[...]
I agree that writing a doc->docx converter is a waste if you are
already automating Word, just change it to automate the new version and
produce the appropriate output. But if they are generating it from
scratch, I can't agree that automating word is the best idea if this is
indeed, being run in an ASP.NET environment.
Well, I already did write that if they are generating the .doc file from
scratch, it would make more sense to just write the .docx file from
scratch. Frankly, if they are generating the .doc file from scratch, I
don't think that it makes sense to convert the .doc file regardless,
whether by automation or some other means.
I don't know enough about ASP.NET programming to know why automating Word
would be a bad idea, but assuming it's not _impossible_ to automate Word,
I still think that's a better solution than trying to write a
general-purpose .doc-to-.docx converter. Note that I write
"general-purpose" because if one is going to do something like take
advantage of knowing what the .doc input is going to look like, one
_definitely_ would be better off just generating the .docx from scratch,
based on whatever data was going to be used to generate the .doc file.
Basically, it seems to me that any solution involving the conversion of a
.doc file to a .docx file is not desirable. Whether by automation or
writing a converter from scratch, there are better alternatives. But
between the two undesirable options, I think automation is the quicker
path to a solution, even if it is inappropriate for the context.

(And
again, that assumes it's possible...I judge from your response that it's
possible, just not preferred).
Of course, this whole thread begs the question of _why_ one needs to
convert from .doc to .docx. I realize the newer format is more open, but
if the original data is in .doc format already, in what context is the
output document going to be used in which .docx is a valid format but .doc
is not?
But of course, any time we start questioning _why_ someone asking a
question wants to do what they want, they get all indignant and insulted,
as if you, I, and everyone else have nothing better to do than to harass
people about what they're doing without any intent to try to help them.
So I guess I won't bother asking that question.
Maybe next year will be better...
Pete