msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Synchronize Outlook Appointment

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Program VBA
Author Message
czkiam



Joined: 21 Jan 2008
Posts: 2

PostPosted: Mon Jan 21, 2008 2:53 am    Post subject: Synchronize Outlook Appointment Reply with quote

Hi,



I'm trying to perform Synchronization between my application and outlook
default calendar (which mimic the behavior like ActiveSync)



I have face the difficultly on update the appointment with recurrence pattern.



let said,

I have a appointment with daily recurrence (10 occurrences) in outlook, one
of the occurrence has been changed.
I have a appointment with daily recurrence (10 occurrences) in my
application, one of the occurrence has been deleted.
assume, i keep the outlook entryID in my application.



so, when i tried to compare and update the appointment in outlook, how can i
update the outlook appointment to follow the same recurrence pattern with my
application (include the deleted ocurrence)?



any solution on this?



thanks.

czkiam

Archived from group: microsoft>public>outlook>program_vba
Back to top
View user's profile Send private message
Ken Slovak - [MVP - Outlo



Joined: 12 Aug 2007
Posts: 405

PostPosted: Mon Jan 21, 2008 2:48 pm    Post subject: Re: Synchronize Outlook Appointment Reply with quote

You have to get the RecurrencePattern of the recurring item, then examine
the Exceptions collection. That holds all exceptions and deleted instances.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"czkiam" wrote in message @microsoft.com...
> Hi,
>
>
>
> I'm trying to perform Synchronization between my application and outlook
> default calendar (which mimic the behavior like ActiveSync)
>
>
>
> I have face the difficultly on update the appointment with recurrence
> pattern.
>
>
>
> let said,
>
> I have a appointment with daily recurrence (10 occurrences) in outlook,
> one
> of the occurrence has been changed.
> I have a appointment with daily recurrence (10 occurrences) in my
> application, one of the occurrence has been deleted.
> assume, i keep the outlook entryID in my application.
>
>
>
> so, when i tried to compare and update the appointment in outlook, how can
> i
> update the outlook appointment to follow the same recurrence pattern with
> my
> application (include the deleted ocurrence)?
>
>
>
> any solution on this?
>
>
>
> thanks.
>
> czkiam
>
Back to top
View user's profile Send private message
czkiam



Joined: 21 Jan 2008
Posts: 2

PostPosted: Thu Jan 24, 2008 5:28 am    Post subject: Re: Synchronize Outlook Appointment Reply with quote

HI,

The Exceptions property is readonly.

Let said, i want to replace the recurrencePattern as my application
recurrencePatter with the deleted occurrence.

how can i make it?

thanks

Best regards,
czkiam

"Ken Slovak - [MVP - Outlook]" wrote:

> You have to get the RecurrencePattern of the recurring item, then examine
> the Exceptions collection. That holds all exceptions and deleted instances.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007
> Reminder Manager, Extended Reminders, Attachment Options
> http://www.slovaktech.com/products.htm
>
>
> "czkiam" wrote in message
> @microsoft.com...
> > Hi,
> >
> >
> >
> > I'm trying to perform Synchronization between my application and outlook
> > default calendar (which mimic the behavior like ActiveSync)
> >
> >
> >
> > I have face the difficultly on update the appointment with recurrence
> > pattern.
> >
> >
> >
> > let said,
> >
> > I have a appointment with daily recurrence (10 occurrences) in outlook,
> > one
> > of the occurrence has been changed.
> > I have a appointment with daily recurrence (10 occurrences) in my
> > application, one of the occurrence has been deleted.
> > assume, i keep the outlook entryID in my application.
> >
> >
> >
> > so, when i tried to compare and update the appointment in outlook, how can
> > i
> > update the outlook appointment to follow the same recurrence pattern with
> > my
> > application (include the deleted ocurrence)?
> >
> >
> >
> > any solution on this?
> >
> >
> >
> > thanks.
> >
> > czkiam
> >
>
>
Back to top
View user's profile Send private message
Ken Slovak - [MVP - Outlo



Joined: 12 Aug 2007
Posts: 405

PostPosted: Thu Jan 24, 2008 2:39 pm    Post subject: Re: Synchronize Outlook Appointment Reply with quote

Yes, Exceptions is read-only, so what?

If you change one of the items in the recurring series you will effectively
change the Exceptions collection by adding that changed item to that
collection. Same thing if you delete an occurrence.

You asked how to follow a recurrence pattern and that's how you do it. You
check each occurrence, get the next occurrence by implementing code to
figure out the next period and if you don't get the next item that way you
then check Exceptions to see if that occurrence is there.

You can't replace the recurrence pattern with one of your own design, if
that's what you're asking, Outlook wouldn't have a clue about that. If you
want to track occurrences to find exceptions you use the methods I mentioned
and check Exceptions. Otherwise I don't understand what you're asking for.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"czkiam" wrote in message @microsoft.com...
> HI,
>
> The Exceptions property is readonly.
>
> Let said, i want to replace the recurrencePattern as my application
> recurrencePatter with the deleted occurrence.
>
> how can i make it?
>
> thanks
>
> Best regards,
> czkiam
Back to top
View user's profile Send private message
Dan Mitchell



Joined: 12 Aug 2007
Posts: 3

PostPosted: Thu Jan 24, 2008 1:46 pm    Post subject: Re: Synchronize Outlook Appointment Reply with quote

=?Utf-8?B?Y3praWFt?= wrote in@microsoft.com:
> Let said, i want to replace the recurrencePattern as my application
> recurrencePatter with the deleted occurrence.
>
> how can i make it?

Possibly I'm missing something, but you should be able to just find the
instance that's been deleted in your app (using date restriction on the
old date or whatever), then tell Outlook to delete that instance. Outlook
will then update the exceptions correctly.

-- dan

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Outlook - synchronize contatcs by visual basic aplicaton Hi I've made a visual basic programm to save contacts in an access application. Afterwoards I exporting the contact to outlook. If the contact exits, I have to delet them and then I creating a new one, but I loosing now informations, which were made in th

How to send calendar appointment or meeting request using .N How to send outlook calendar appointment or meeting request using .Net classes or assemblies?

Appointment in Calendar help - Event triggers - Visual basic I've added an event handler to trigger when a new appointment is added into my calendar. This works. However, when a new appointment is viewed in a preview pane in an inbox folder, this event is also triggered as Outlook appears to move a 'tentative' appo

Email from Word to Outlook Thank you in advance. I'm trying to email a document to Outlook from Word. I have a button in Word that says "Submit". I would like to be able to click that button and it automatically send my Word Doc. to a specific person in Outlook. Can this be done?

Forcing Send only - OUTLOOK Hi experts, Is there a way to, using VBA code, to prevent OUTLOOK to receive the messages on the server side when sending mails out? I need to ONLY send mails with OUTLOOK, but NOT receiving. Reason is the use of different mail clients (Outlook Express, M
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Program VBA All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group