R
Reinhardt M
Hi,
I try to reference an Outlook COM AddIn developed using VSTO. In the
knowledgebase I found a solution for OL2000 (Q240768).
Private Sub IDTExtensibility2_OnConnection(ByVal Application As Object, _
ByVal ConnectMode As AddInDesignerObjects.ext_ConnectMode, _
ByVal AddInInst As Object, custom() As Variant)
Application.COMAddIns.Item("MyAddin.Connect").Object = Me
End Sub
Somehow I cannot manage to do so in the VS2005 VSTO extension:
private void ThisApplication_Startup(object sender, System.EventArgs
e)
{
object o = new object();
o = "OutlookSocketServer.ThisApplication";
object m = this.COMAddIns.Item(ref o).Object;
m = this;
}
The usage of indexing seems to have changed.
I greatly appreciate any support.
Reinhardt
I try to reference an Outlook COM AddIn developed using VSTO. In the
knowledgebase I found a solution for OL2000 (Q240768).
Private Sub IDTExtensibility2_OnConnection(ByVal Application As Object, _
ByVal ConnectMode As AddInDesignerObjects.ext_ConnectMode, _
ByVal AddInInst As Object, custom() As Variant)
Application.COMAddIns.Item("MyAddin.Connect").Object = Me
End Sub
Somehow I cannot manage to do so in the VS2005 VSTO extension:
private void ThisApplication_Startup(object sender, System.EventArgs
e)
{
object o = new object();
o = "OutlookSocketServer.ThisApplication";
object m = this.COMAddIns.Item(ref o).Object;
m = this;
}
The usage of indexing seems to have changed.
I greatly appreciate any support.
Reinhardt