An error occurred while sending a command to the prog.

Solved
oetchele -  
 PhD -
Good evening,

for some time now I have been having an issue when I open a Word file. Indeed, an error message saying "An error occurred while sending a command to the program" appears every time, but the file still opens...

I have Word 2010 and I don’t remember modifying anything ^_^ Otherwise, all Excel files open without a problem.

I have searched for information on forums but haven't found any conclusive results so far, so I hope to find help here ;)

Thank you in advance!

6 answers

KhaZimiR
 
I had this issue and now it's okay.
Normally, the Microsoft solution addresses 90% of cases:
http://support.microsoft.com/kb/211494/en

But for me, it didn't work, you have to tinker with the registry!
Be careful, first you need to export the keys to be modified.. just in case.

1) In the key: [HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\command]
there is: "C:\Program Files (x86)\Microsoft Office\Office12\EXCEL.EXE" /e
- replace with: "C:\Program Files (x86)\Microsoft Office\Office12\EXCEL.EXE" /e /dde "%1"
- in the line below with the strange signs, add the same: /dde "%1"
2) completely delete the key below: Excel.Sheet.12\shell\Open\ddeexec

This is for .xlsx files, for .xls files, do the same with the key Excel.Sheet.8

If there are issues with Word, do the same manipulation.
[HKEY_CLASSES_ROOT\Word.Document.12\shell\Open\command]
12
joumath
 
I applied your method to the letter, I no longer have the frame "an error occurred......", Excel opens but not my desired file. Do you have any additional information? Thank you.
0
KhaZimiR
 
Did you complete both operations (1 and 2)? What is the file extension: xls or xlsx?
0