D
David Thielen
Hi;
I have an Add-In in C#, not VSTO.
Is there a known work-around yet for the problem where suddenly a menu
object is no longer attached to the underlying COM menu object?
Note: This is not the issue where the .NET menu object must exist - I have
them declared as class fields in my IDTExtensibility2 object.
Note 2: This usually (not always) happens when opening an additional
document or closing a document/closing Word.
I put a try/catch around my access of the objects and re-attach them in the
catch. But I think having an exception trigger when code is running correctly
is very bad so I'd like a better work-around.
I have an Add-In in C#, not VSTO.
Is there a known work-around yet for the problem where suddenly a menu
object is no longer attached to the underlying COM menu object?
Note: This is not the issue where the .NET menu object must exist - I have
them declared as class fields in my IDTExtensibility2 object.
Note 2: This usually (not always) happens when opening an additional
document or closing a document/closing Word.
I put a try/catch around my access of the objects and re-attach them in the
catch. But I think having an exception trigger when code is running correctly
is very bad so I'd like a better work-around.