m_olAppointmentItem_BeforeDelete - problem

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)
 
H

Helmut Obertanner

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top