L
LeonXYZ
Dear Sir,
I have Word 2007 installed on my computer, The word application is embeded
in my own applcaiotn.I tried to compare two documents using automation with
the following code. but I got an COleDispatchException with error message
"This command is not available." the exception is caught when excuting
"Compare" method.
I check the embeded-Word-GUI inside my application, to my surprise,
the "Compare" button in "Reivew Tab of Word Ribbon" is disabled/Greyed !
I think it must be the same reason that "Compare" button is greyed/disabled
as the compare method throw an Exception "This command is not abailable".
I just wonder that is there any functionaly restriction for an Word-OLE ?
How can I check the cause for disabling the "Compare" button ? What's the
best article/book for me to Fix the problem ? Any help is appreciated.
Thanks a million.
I have Word 2007 installed on my computer, The word application is embeded
in my own applcaiotn.I tried to compare two documents using automation with
the following code. but I got an COleDispatchException with error message
"This command is not available." the exception is caught when excuting
"Compare" method.
I check the embeded-Word-GUI inside my application, to my surprise,
the "Compare" button in "Reivew Tab of Word Ribbon" is disabled/Greyed !
I think it must be the same reason that "Compare" button is greyed/disabled
as the compare method throw an Exception "This command is not abailable".
I just wonder that is there any functionaly restriction for an Word-OLE ?
How can I check the cause for disabling the "Compare" button ? What's the
best article/book for me to Fix the problem ? Any help is appreciated.
Thanks a million.