Use "Read Only" Parameter in FileOpen DDE Function with Office 200

W

word_user_1

Could anyone provide information please how to use the "Read Only" Parameter
with the FileOpen DDE Function?

Articles on the internet (e.g.
http://word.mvps.org/FAQs/AppErrors/ReadOnlyPrintMsg.htm)
suggest that this is possible, the version used here
(Office 2003 11.6359.6360 SP1) interprets all options also as part of the
filename, which then results in an "File not found".

This is the snipped from the article that describes the suggested changes to
the "Folder settings"-dialog (DOC filetype):
-----
Change the DDE Message to:

[REM _DDE_Minimize][FileOpen("%1",,1)][t=IsDocumentDirty()][FilePrint
0][SetDocumentDirty t][DocClose]

Note, you're really just changing the FileOpen code from [FileOpen("%1") to
[FileOpen("%1",,1)

Change DDE Application NOT Running to:

[FileOpen("%1",,1)][FilePrint 0][FileExit 2]

Note: same change.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top