Hi Sebastian,
thank you very much, your solution works perfectly. The workaround I found in the meantime was also to use the onConnection event,
Dominik
thank you very much, your solution works perfectly. The workaround I found in the meantime was also to use the onConnection event,
if ((AddInInst as Microsoft.Office.Core.COMAddIn) != null)
{
Microsoft.Office.Core.COMAddIn comaddin = AddInInst as Microsoft.Office.Core.COMAddIn;
comaddin.Object = objectToBeUsed;
}
but the solution via reflection is much more elegant. Dominik