修改注册表解决Word出错提示“There was a problem sending the command to the program”

本文详细介绍了如何通过修改注册表解决Word中出现的‘Therewasaproblemsendingthecommandtotheprogram’错误,提供了具体的步骤和注意事项。

工作环境(蓝色粗体字为特别注意内容)
1,软件环境:Windows 7 Ultimate sp1、MicroSoft OFFICE 2007 

2,参考文献:

① https://answers.microsoft.com/en-us/office/forum/office_2013_release-excel/excel-2013-error-there-was-a-problem-sending-the/0dc6e264-abb4-4bae-9072-6b45a59712f7

在双击word文档的时候,不知道什么原因,出现“There was a problem sending the command to the program”(向程序发送命令的时候出现问题),症状如下:

尝试了很多方法,包括“word选项”-“高级”-“ Ignore other applications that use Dynamic Data Exchange (DDE)(同意使用其他应用程序动态数据库交换(DDE))”,都没有任何效果。不忍吐槽,国内的东西都是抄来抄去。于是到国外网站看看相关解决方案,按照参考文献①中修改注册表的方法才把问题解决了~~具体步骤如下:

The problem was not related to the file or its content.  I could stop the message by changing the name of the file to end .doc without changing the format of the file content.
I searched for and found many suggested fixes for the problem ... and none of the fixes worked for me.  I eventually fixed the message “There was a problem sending the command to the program” with a change in the registry.  
I edited “HKEY_CLASSES_ROOT\Word.Document.12\shell\Open “ and deleted the “ddeexec” key.  

The “ddeexec” key can also be deleted from “HKEY_CLASSES_ROOT\Word.DocumentMacroEnabled.12\shell\Open”.  A similar change may work for earlier versions of Word. 

For Word 2013, you can change the registry by right-clicking and saving  this file ...
Double-click the file after downloading to update the registry.  WARNING ... It is you that knows the situation of your own computer.  I cannot know about your computer and cannot be responsible for any unintended consequnces.  I have tested this process and I am confident that it is safe.

也就是:

① Win+R 输入regedit
② 展开HKEY_CLASSES_ROOT\Word.DocumentMacroEnabled.12\shell\Open
③ 删除“ddeexec”键                                                                                                                                                                         ④如果还不行,则试试把HKEY_CLASSES_ROOT\Word.TemplateMacroEnabled.12\shell\Open下面的也删掉。

⑤如果还不行,那可以试试下面的方法:右键-》打开方式-选择默认程序-》定位到默认程序的可执行文件。

 

注意:按照上述步骤操作的时候必须把下面的这个单选框取消掉(如果有这个选项的话,我的word就没有这个选项,但是excel有这个选项):

其他word版本可以按照类似的方法试试,在修改之前记得备份好注册表,祝好运 :) 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值