K
Kukulkan
Hello,
To access functions of my AddIn from external, I followed KB Article
http://support.microsoft.com/?kbid=240768 and set a reference at
start:
Application.COMAddIns.Item("MyAddInName.Connect").Object =
ConnectClass
It works great now, but after this, outlook does not close anymore
(stays in taskmanager).
I try'd to disconnect this relationship using the following methods in
my Explorer.Close event:
Application.COMAddIns.Item("MyAddInName.Connect").Object = Nothing
Set Application.COMAddIns.Item("MyAddInName.Connect").Object = Nothing
It does not work. Every time I get an error like 80004005 "method
'object' for object 'ComAddIn' failed".
The following does not help, too:
Application.COMAddIns.Item("MyAddInName.Connect").Connect = False
No effect at all :-(
How to release this connection to my class to allow outlook closing?
Kukulkan
To access functions of my AddIn from external, I followed KB Article
http://support.microsoft.com/?kbid=240768 and set a reference at
start:
Application.COMAddIns.Item("MyAddInName.Connect").Object =
ConnectClass
It works great now, but after this, outlook does not close anymore
(stays in taskmanager).
I try'd to disconnect this relationship using the following methods in
my Explorer.Close event:
Application.COMAddIns.Item("MyAddInName.Connect").Object = Nothing
Set Application.COMAddIns.Item("MyAddInName.Connect").Object = Nothing
It does not work. Every time I get an error like 80004005 "method
'object' for object 'ComAddIn' failed".
The following does not help, too:
Application.COMAddIns.Item("MyAddInName.Connect").Connect = False
No effect at all :-(
How to release this connection to my class to allow outlook closing?
Kukulkan