J
Jack
I have an add-in application that responds to the _open event of an ApptItem
(decl and sub below).
If I do anything that sets cancel to true the add-in does not completely
release memory. If I debug, fire the event then remove the add-in via
com-addins and then stop debugging it tells me that the program is still in
use. Yet, if is allow the appt to open then close it things are relased and
the program ends without a problem.
Is there something else I should be doing?
Appt Item declared:
Private WithEvents objApptItem As Outlook.AppointmentItem
Private Sub objApptItem_Open(Cancel As Boolean)
cancel=true
End Sub
(decl and sub below).
If I do anything that sets cancel to true the add-in does not completely
release memory. If I debug, fire the event then remove the add-in via
com-addins and then stop debugging it tells me that the program is still in
use. Yet, if is allow the appt to open then close it things are relased and
the program ends without a problem.
Is there something else I should be doing?
Appt Item declared:
Private WithEvents objApptItem As Outlook.AppointmentItem
Private Sub objApptItem_Open(Cancel As Boolean)
cancel=true
End Sub