LAF Posted December 13, 2007 Share Posted December 13, 2007 Hi,I'm new here !!!!!!!!!!I wana know if there's any switch that exists to start word 2003 (from the command prompt) in read only mode.See, I wan't to display a DOC in the browser in read only mode. I don't want the user the EDIT the document.Thanks in advance,Marc. Link to comment Share on other sites More sharing options...
PC_LOAD_LETTER Posted December 13, 2007 Share Posted December 13, 2007 just set the read only flag on the doc on the file itself@echo offAttrib +R "document Name.doc""C:\Program Files\Microsoft Office\Office11\winword.exe" "document Name.doc"or just set the permissions for the file to deny your user write access to that filedoesnt stop them from using file=save as though Link to comment Share on other sites More sharing options...
neo Posted December 13, 2007 Share Posted December 13, 2007 I am using Microsoft Word 2007....When you right click on document file holding <SHIFT KEY>....You will get Open as Read Only option...I am not 100% sure....but may be this feature in Microsoft Word 2003.If not then I am posting some registry code, copy it to notepad and save as <Filename>.reg file and patch it.Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Word.Document.8\shell\OpenAsReadOnly]@="Open as Read-Only""Extended"=""[HKEY_CLASSES_ROOT\Word.Document.8\shell\OpenAsReadOnly\command]@="\"C:\\Program Files\\Microsoft Office\\Office12\\WINWORD.EXE\" /h /n /dde""command"=hex(7):77,00,5f,00,31,00,5e,00,56,00,36,00,21,00,21,00,21,00,21,00,\ 21,00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,57,00,4f,00,52,\ 00,44,00,46,00,69,00,6c,00,65,00,73,00,3e,00,74,00,57,00,7b,00,7e,00,24,00,\ 34,00,51,00,5d,00,63,00,40,00,35,00,64,00,31,00,60,00,2c,00,78,00,61,00,54,\ 00,4f,00,35,00,20,00,2f,00,68,00,20,00,2f,00,6e,00,20,00,2f,00,64,00,64,00,\ 65,00,00,00,00,00[HKEY_CLASSES_ROOT\Word.Document.8\shell\OpenAsReadOnly\ddeexec]@="[AppShow][REM _DDE_ReadWriteOnSave][FileOpen .Name=\"%1\",.Revert=0]"[HKEY_CLASSES_ROOT\Word.Document.8\shell\OpenAsReadOnly\ddeexec\Application]@="WinWord"[HKEY_CLASSES_ROOT\Word.Document.8\shell\OpenAsReadOnly\ddeexec\Topic]@="System"It may be helpful otherwise....you can restrict your document..with read only permission.You can use Word Viewer to open word documents as Read only Link to comment Share on other sites More sharing options...
LAF Posted December 13, 2007 Author Share Posted December 13, 2007 Hi,You can use Word Viewer to open word documents as Read onlyIs this viewer available in Word 2003? If so, How do I use it ?Thanks,Marc. Link to comment Share on other sites More sharing options...
neo Posted December 13, 2007 Share Posted December 13, 2007 Hi,You can use Word Viewer to open word documents as Read onlyIs this viewer available in Word 2003? If so, How do I use it ?Thanks,Marc.You have to install Word Viewer.Word ViewerView, print and copy Word documents, even if you don't have Word installed. This download is a replacement for Word Viewer 2003 and all previous Word Viewer versions.It supports:# Word Document (*.docx)# Word Macro-Enabled Document (*.docm)# Rich Text Format (.rtf)# Text (.txt)# Web Page formats (.htm, .html, .mht, .mhtml)# WordPerfect 5.x (.wpd)# WordPerfect 6.x (.doc, .wpd)# Works 6.0 (.wps)# Works 7.0 (.wps)# XML (.xml)Download: Word Viewer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now