|
-
December 22nd, 2000, 08:45 AM
#1
Opening Word Doc Read Only
I am looking for a way to open a Word doc in read only mode in an asp page.
I have got the hyperlink opening the doc in the brovser but this is letting the user edit the document. I tried setting the read-only property of the doc but IE asked if you want to save changes, which I do not want to show. Is there another way of doing this?
Cheers
Rob
-
December 9th, 2005, 03:16 PM
#2
Re: Opening Word Doc Read Only
Your best bet is to use a filestream and read the data from the Word Doc into a string or array of chars and write that to the page in a formatted fashion. If you display a link to the file, it just opens up in whatever they have set as the default for that file extension, which is going to be Word or Wordpad... which will allow them to save a copy of their own somewhere else (you have set it to be readonly, which means that it cannot be overwritten) on their own harddrive or in another directory if the original is local.
-
August 21st, 2015, 02:32 AM
#3
Re: Opening Word Doc Read Only
Hi, you can use aceoffix as a plugin to control your Word doc online. It supports many modes, like read-only mode, editable reagion control mode, online editing mode etc..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|