Y
Yahya Saad
Dear All,
I developed a outlook 2000 COM add-in with VB6 and would like to trigger
an every time the outlook is closed, but I am facing a problem that the
below code is fired only the first time the outlook is closed since outlook
is remaining active in the memory.
Private Sub objExpl_Close()
If ObjApp.Explorers.Count <= 1 Then
If i > 0 Then
'Do something
End If
End If
End Sub
How can I either dispose the outlook when it is closed to be able to
trigger the close event the next time it is open or find a way to trigger
this event every time outlook 2000 is closed.
I developed a outlook 2000 COM add-in with VB6 and would like to trigger
an every time the outlook is closed, but I am facing a problem that the
below code is fired only the first time the outlook is closed since outlook
is remaining active in the memory.
Private Sub objExpl_Close()
If ObjApp.Explorers.Count <= 1 Then
If i > 0 Then
'Do something
End If
End If
End Sub
How can I either dispose the outlook when it is closed to be able to
trigger the close event the next time it is open or find a way to trigger
this event every time outlook 2000 is closed.