On Fri, 10 Oct 2008 11:25:52 -0700, Mufasa <jb@nowhere.comwrote:
I have a need to have a program open a Word document and display it to
the
user. The user will not be able to touch the document - it will be read
only.
Anybody have any code or links that do this?
Also - if I can find ones to do Excel that would be great also.
I don't have any specific examples, but I believe you'll need to use the
Office interop classes to do it. Word and Excel both offer a "read-only"
option when opening a file, but you have to use that option from within
the application itself.
Here's a starting point:
http://msdn.microsoft.com/en-us/library/bb726436.aspx
Pete