Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   VB coding of Outlook cancel meeting (http://www.outlookbanter.com/outlook-using-forms/16532-vb-coding-outlook-cancel-meeting.html)

martin kendrick June 1st 06 03:08 PM

VB coding of Outlook cancel meeting
 
Hi,
I have noticed a couple of similar questions to this but without any
replies but lets have another go....

I am working with outlook 202 to an exchange server backend
I have a .net activeX from which I connect to the outlook object using
the outlook active X
my snippet
oResItems = oAppointmentsfldr.Items.Restrict(myfilter)
For i = oResItems.Count to 1 step -1
oItem = ResItems.Item(i) ' oItem is an appointmentitem
oItem.Delete()
next i

now to my mind this would take a filter string and produced a resticted
lit of appointments which it would delete from outlook and
IT DOES - Yipppppeee - BUT (isnt there always a big but)

It does not remove the item from any other attendees calendar
If I cancel a meeting through the GUI I am given the option of sending
each attendee an email containing a cancel instruction.

Why doesnt the delete do the same AND

if it doesnt do the same is there anyway I can manually send that email
to the attendees inbox (and have it work in the same way as a GUI based
cancelation email)

any idaes people!!!
thanks
Martin

Any ideas would really be appreciated



*** Sent via Developersdex http://www.developersdex.com ***


All times are GMT +1. The time now is 11:23 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com