K
kris b.
Not positive if this will work, but it's a different
direction to the one your trying, maybe a modified version
would help, but here's my idea:
If I'm not mistaken the inspector will remain open while
sending, then dies once the message is sent, no matter
what the size of message or its attachments.
So implement either a "WithEvents" or "AddHandler" for the
inspector's _Close event then test to make sure it's the
last man off the boat:
('golapp' being the global outlook variable)
If golApp.ActiveExplorer Is Nothing And
golApp.Inspectors.Count <= 0 Then
GoTo ExitAddin ' Do the close here
End If
If an explorer is also spawning you'll need to capture its
_Close event, too.
direction to the one your trying, maybe a modified version
would help, but here's my idea:
If I'm not mistaken the inspector will remain open while
sending, then dies once the message is sent, no matter
what the size of message or its attachments.
So implement either a "WithEvents" or "AddHandler" for the
inspector's _Close event then test to make sure it's the
last man off the boat:
('golapp' being the global outlook variable)
If golApp.ActiveExplorer Is Nothing And
golApp.Inspectors.Count <= 0 Then
GoTo ExitAddin ' Do the close here
End If
If an explorer is also spawning you'll need to capture its
_Close event, too.