Need to have a Windows program that opens a word document for read only.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mufasa

    Need to have a Windows program that opens a word document for read only.

    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.

    TIA - Jeff.


  • Peter Duniho

    #2
    Re: Need to have a Windows program that opens a word document forread only.

    On Fri, 10 Oct 2008 11:25:52 -0700, Mufasa <jb@nowhere.com wrote:
    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:


    Pete

    Comment

    Working...