hello dominik,
thanks for pointing this out. i did not realize vsto spend a property like this and add to my to do list.
A quick hotfix in c# is to use the OnConnection event. something like this:
// create an instance of 'MyClass' and set to addin 'Object' property
void Addin_OnConnection(object Application, ext_ConnectMode ConnectMode, object AddInInst, ref Array custom)
{
*hope this help
I want give a notification here when RequestComAddinAutomationService is available in NetOffice (next preview release).
Sebastian
thanks for pointing this out. i did not realize vsto spend a property like this and add to my to do list.
A quick hotfix in c# is to use the OnConnection event. something like this:
// create an instance of 'MyClass' and set to addin 'Object' property
void Addin_OnConnection(object Application, ext_ConnectMode ConnectMode, object AddInInst, ref Array custom)
{
object[] param = new object[1];
param[0] = new MyClass();
Application.GetType().InvokeMember("Object", System.Reflection.BindingFlags.SetProperty, null, AddInInst, param);
}*hope this help
I want give a notification here when RequestComAddinAutomationService is available in NetOffice (next preview release).
Sebastian