'm_olAppointmentItem_BeforeDelete'

'm_olAppointmentItem_BeforeDelete'

Post by Kurt Hofma » Sat, 26 Mar 2005 00:13:27


I'm trying to create a Outlook Add-in to follow up some things in our
Account-software. When I try to monitor the Appointment-folder for
appointments being deleted with the folowing code :

Private Sub m_olAppointmentItem_BeforeDelete(ByRef Item As Object, ByRef
Cancel As Boolean) Handles m_olAppointmentItem.BeforeDelete

End Sub

I get the following error :

Method 'm_olAppointmentItem_BeforeDelete' cannot handle Event 'BeforeDelete'
because they do not have the same signature.

What is going wrong ?
The folow-up of AppointmentItems and MailItems works just fine (except the
.BeforeDelete)