m_olAppointmentItem_BeforeDelete - problem

  • Thread starter Thread starter Kurt Hofman
  • Start date Start date
K

Kurt Hofman

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)
 
Hello Kurt,

is your Account Software Serverbased or Client based ?
As I know there is no way t track with Items are deleted on client.
The BeforeDelete works only for Open Appointments, not in Folder View.

If your Account Software is synchronized with Exchange Publicfolders then
maybe there is a way.

--
Freundliche Grüße / with regards

Helmut Obertanner
Technical Consultant

Softwaredevelopment
DATALOG Software AG | Zschokkestr. 36 | D-80687 Munich
web: www.datalog.de


.... and IT works!
 
Back
Top