R
René Meinecke
Hi there,
i created an Outlook - AddIn with Visual Basic .NET and the AddIn is
working, but if i exit
Outlook 2000 with loaded AddIN, Outlook 2000 is still running in task
manager.
in Outlook XP i did not get this problem, cause if i exit Outlook XP with
loaded AddIn
Outlook XP is closed (even in task manager).
here is some code from my AddIn:
Dim addInInstance As Object
Dim frmSearchWindow As frmSearch
Dim appOutlook As Outlook.Application
Dim mail As Outlook.MailItem
Dim WithEvents btnAntrago As Office.CommandBarButton
Private WithEvents expclOutlook As Outlook.Explorer
Public Sub OnBeginShutdown(ByRef custom As System.Array) Implements
Extensibility.IDTExtensibility2.OnBeginShutdown
btnAntrago = Nothing
expclOutlook = Nothing
appOutlook = Nothing
mail = Nothing
addInInstance = Nothing
End Sub
thx René
i created an Outlook - AddIn with Visual Basic .NET and the AddIn is
working, but if i exit
Outlook 2000 with loaded AddIN, Outlook 2000 is still running in task
manager.
in Outlook XP i did not get this problem, cause if i exit Outlook XP with
loaded AddIn
Outlook XP is closed (even in task manager).
here is some code from my AddIn:
Dim addInInstance As Object
Dim frmSearchWindow As frmSearch
Dim appOutlook As Outlook.Application
Dim mail As Outlook.MailItem
Dim WithEvents btnAntrago As Office.CommandBarButton
Private WithEvents expclOutlook As Outlook.Explorer
Public Sub OnBeginShutdown(ByRef custom As System.Array) Implements
Extensibility.IDTExtensibility2.OnBeginShutdown
btnAntrago = Nothing
expclOutlook = Nothing
appOutlook = Nothing
mail = Nothing
addInInstance = Nothing
End Sub
thx René