NazerMohideen
Programmer
Hi everyone,
I am new to VB.Net COM addin. I have done addins in VB6. I am trying to convert them to vb.net.
This addin is for outlook.
....
....
Public WithEvents objIns As Outlook.Inspectors
.....
Public Sub OnStartupComplete(ByRef custom As System.Array) Implements Extensibility.IDTExtensibility2.OnStartupComplete
On Error Resume Next
objIns = ApplicationObject.Inspectors 'ApplicationObject is the instance of the Application
if (Err.Number <> 0) then Msgbox (Err.Description)
MsgBox("Outlook is powered by ePostmanager", MsgBoxStyle.Information)
End Sub
An error 'No such Interface Supported' occurs.
Thanks in advance.
Nazer Mohideen
I am new to VB.Net COM addin. I have done addins in VB6. I am trying to convert them to vb.net.
This addin is for outlook.
....
....
Public WithEvents objIns As Outlook.Inspectors
.....
Public Sub OnStartupComplete(ByRef custom As System.Array) Implements Extensibility.IDTExtensibility2.OnStartupComplete
On Error Resume Next
objIns = ApplicationObject.Inspectors 'ApplicationObject is the instance of the Application
if (Err.Number <> 0) then Msgbox (Err.Description)
MsgBox("Outlook is powered by ePostmanager", MsgBoxStyle.Information)
End Sub
An error 'No such Interface Supported' occurs.
Thanks in advance.
Nazer Mohideen