Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Office Word Viewer 2003

May 9, 2005 6:41PM PDT

Hi there,

I really need some help with the Office Word Viewer 2003. I am trying to find a way of disabling or removing the "Open For Editing" menu item, as I do not want users to be able to start Word itself.

If anyone knows any startup switches or registry settings or anything else that might sort this out, I would be really grateful for any assistance.

Many thanks in advance.

Antony.

Discussion is locked

- Collapse -
Publish it in PDF for such an effect.
May 9, 2005 9:09PM PDT

There are far too many .DOC editors (Open Office for example) so just publish in PDF for this effect.

Open Office is what I use to open a .DOC and save in .PDF for cheap.

Bob

- Collapse -
Additional Explanation
May 9, 2005 9:26PM PDT

Hi there,

Thanks for your message. I don't think I made myself clear though. We have a piece of software that generates Word documents through Office automation and then opens them in the Office Word Viewer product. We just want to stop people from using the "Open for Editing" menu item at that final point.

Neither us, nor the user will have access to other programs for the purposes of manually converting the .doc files to PDF.

Hope that clarifies things.

Best regards,

Antony.

- Collapse -
I added a PDF creator in my Office automation..
May 9, 2005 10:06PM PDT

Just for such an effect.

You may need another Word viewer to get the edit removed.

-> Another out. Mark the file READ-ONLY in the filesystem.

Bob

- Collapse -
Another out.
May 9, 2005 10:10PM PDT

"TO RESERVE READ-WRITE PRIVELEGES FOR A MASTER DOCUMENT or SUB-DOCUMENT

1. Open the relevant document; choose the FILE-Save As-Options button.
2. EITHER type a password in the Write Reservation Password box of the Save tab,
3. OR select the Read-Only Recommended check box.
4. Choose OK twice to return to the document. "

The document is now uneditable for most.

bob

- Collapse -
Re: Yours
May 10, 2005 12:31AM PDT

That's great. Thanks very much for your help. I appreciate it.

Antony.

- Collapse -
Hack ''wordview.exe''
Jan 31, 2006 1:39AM PST

Word Viewer looks in registry for key ''HKEY_CLASSES_ROOT\word.document.8\shell\Open\command'' to find if Microsoft Word is installed, and how to launch Word to open the document with the "Open For Editing" menu item.

If Word Viewer could not found that key it will disable this menu item.

So let's open wordview.exe with any hex editor you like (search Google, there are many freeware available), search for string "command" (in hex: "63 00 6F 00 6D 00 6D 00 61 00 6E 00 64 00".

You will find a reference in a string "Word.Document.8\shell\Open\command", change in binary a segment of this string ("Word.Document" -> "XXX.Document"), and Word Viewer never will find the real key in registry, so it will ever think that Word is uninstalled, and menu item will be always disabled.

So easy... try it!!
Lex Luthor