Recurring Appointments… almost done!

Posted on Thursday 14 December 2006

I’ve almost got recurring appointments working in PocketOutlook. After receiving an unprecedented number of “Native method call failed” errors, I finally realized that you have to set certain properties in a certain order. The AppointmentRecurrence class is a mean, mean object to be working with at 2am.

Always remember to set the Appointment.RecurrencePattern.RecurrenceType before you start setting other properties of the RecurrencePattern! If you visit that the RecurrenceType property page on MSDN, you’ll see in the Remarks field this kind note: This property must be set before any of the other Recurrence properties.


Related Posts

5 Comments for 'Recurring Appointments… almost done!'

  1.  
    December 16, 2006 | 12:01 pm
     

    I am very much looking forward to recurring event cync support as most of my calendar entries are recurring events, but they are usually wierd ones like every 3rd friday of the month, and another is every 2,3,4th Thursday (all as seperate events ovbiously) and a different one as the 1st thursday… it’s very confusing!

    Next would be 2-way sync, I hope that can be implimented in the future!

    Thanks!!

  2.  
    December 16, 2006 | 12:03 pm
     

    eh, oh boy… I really can’t type or spell today can I?

  3.  
    December 16, 2006 | 12:46 pm
     

    Hi Kristopher,

    I will be releasing a version 1.2 of GMobileSync with recurring appointments later today. It still needs to be tested under some more complex conditions like you have but it’s pretty solid. I’ll post more about it later today.

    Thanks!

  4.  
    Julius
    August 27, 2007 | 6:14 pm
     

    I got this error: Native method call failed, on a HTC s620 what do i have to do to fix this? thanks great software.

  5.  
    John
    February 25, 2008 | 2:57 pm
     

    I’m having the same issue with “Native Method Call Failedâ€?
    It happens when I try to sync. It seems to download a few items before displaying the error.
    I’ve removed all recurring appointments from both my phone and my GCalendar.
    Any suggestions?

Leave a comment

(required)

(required)



Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI