Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To work around this issue, you can modify the Windows registry to open a Word document or an Excel worksheet without using DDE.
When
ShellExecute specifies "open," the setting in the following workaround prevents "open" from using the DDE key for opening a document or worksheet. If you open a file by using Windows Explorer, DDE is used as usual.
Note If you change the open method, you may experience performance problems in Word. Or, you may not be able to open files in the same instance of Word and of Excel from the Windows shell. Only change the open method if you are using a version of Office that is not covered by the hotfix package that is described in the "Resolution" section.
Modify the registry for Word
- Click Start, and then click Run. In the Open box, type regedit, and then click OK.
- In Registry Editor, browse to the following subkey:
HKEY_CLASSES_ROOT\Word.Document.8\shell
- In the shell key, double-click Default, and then type OpenDDE in the Value data box.
- Right-click the Open key and click Rename. Type OpenDDE.
- Right-click the Shell key, point to New, and then click Key.
- Name the new subkey Open.
- Double-click Default in the Open key, and then type Open without DDE in the Value data box.
- Right-click the Open key, point to New, and then click Key.
- Name the new subkey Command.
- Double-click Default in the Command key, and then type
"installation path\Winword.exe" /f "%1"
- On the File menu, click Exit.
Note When you use the
/t switch, Word is started, and the existing file is opened. When you use the
/f switch, Word is started, and "Document 1" of a new document that is based on the existing file is opened.
For more information about how to use command-line switches when you start Word, visit the following Microsoft Office Online Web site:
http://office.microsoft.com/en-us/word/FX100487981033.aspx