It's file-level "read-only" (as recommendation). Up until Word 2003, Word
hasn't supported a pure "read-but-do-not-edit" capability.
Right... so Word won't let you save over the file if it's read only. I guess
it would be nice to have another property that is settable and gettable
named "Editable." (hey, that rhymed!)
which version(s) of Word are you targeting,
2000-2003.
and what purpose should
"read-only" serve in your application?
A truly unfortunate one.
....I'm opening the document (read-only) as a preview, then switching
immediately to Print Preview mode. I then spawn a thread that watches to see
if the file has been closed from Print Preview, and close the document
object once that's happened. It's quite cheesy, and I know there are
loopholes, but it seems to work OK for the time being until I can come up
with a better solution.
I'd really like to have a dedicated Print Preview, but I may have to go with
a 3rd-party control to do that.
evan stone | software engineer