A
Ash
Hi,
I am writing a small com addin using C#. I can get the Word application
object from the OnConnection method fine and enumerated the COMAddIns
collection. But when I want to access any of the properties or methods of
WordApp.CommandBars I get the ExecutionEngineException error. I checked the
ToString(), GetType() methods of CommandBars object, they worked fine. The
problem seems to be in the COM methods. I ran the addin in debug mode and
could actually see all the properties from the Watch, but call to those
properties resulted in an exception. Can someone please help me regarding
this problem. Thanks in advance.
I am writing a small com addin using C#. I can get the Word application
object from the OnConnection method fine and enumerated the COMAddIns
collection. But when I want to access any of the properties or methods of
WordApp.CommandBars I get the ExecutionEngineException error. I checked the
ToString(), GetType() methods of CommandBars object, they worked fine. The
problem seems to be in the COM methods. I ran the addin in debug mode and
could actually see all the properties from the Watch, but call to those
properties resulted in an exception. Can someone please help me regarding
this problem. Thanks in advance.