M
Martin
Hello, I am developening an Add-In from Outlook 2000 with Visual Basic .NET and I have a problem when I try to close the applicattion.
To create the button, I create a new Project with Wizard.
It seams to be a problem with the Object Explorer (Or Inspector) that never calls the event Close so, Outlook keeps running in memory all the time.
I found a particular way to Outlook close, but It requires a User interaction and I don't want it:
Private Sub oExplorer_Close() Handles oExplorer.Close
oExplorer = Nothing
GC.Collect()
MsgBox("Closing", MsgBoxStyle.ApplicationModal, "Close")
GC.Collect()
End Sub
Does anyone have this problem when you try to put an Add-In in Outlook 2000?
To create the button, I create a new Project with Wizard.
It seams to be a problem with the Object Explorer (Or Inspector) that never calls the event Close so, Outlook keeps running in memory all the time.
I found a particular way to Outlook close, but It requires a User interaction and I don't want it:
Private Sub oExplorer_Close() Handles oExplorer.Close
oExplorer = Nothing
GC.Collect()
MsgBox("Closing", MsgBoxStyle.ApplicationModal, "Close")
GC.Collect()
End Sub
Does anyone have this problem when you try to put an Add-In in Outlook 2000?