MS Outlook Palm/Pocket PC Sync
Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=7408
Printed Date: 22 May 2025 at 4:48am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: MS Outlook Palm/Pocket PC Sync
Posted By: mybsys
Subject: MS Outlook Palm/Pocket PC Sync
Date Posted: 19 June 2007 at 1:03pm
Our application allows the user to link the calendar to MS Outlook.
This gives our clients the ability to take their appointments with them
on a palm pilot or pocket pc (since they both link to ms outlook as
well). The problem is with recurring events created from the Codejock
calendar control. The events show up in ms outlook but will not sync
to the device.
Error message received... The multi-day repeating appointment titled
test 1 beginning 06/28/2007 00:00:00 AM cannot be converted for use on
the Handheld. Please divide the appointment up into single-days and
re-synchronize.
After
doing some thorough research I found that if I simply bring up the
recurring event (created from codejock calendar) in ms outlook, click
recurrence, and re-save it, it will then sync fine. It's as if a
property or some value that ms outlook is expecting from codejock is
not being set. The other thing I noticed is that the "end after X
occurrences" and the "end by" values are blank when I load the
recurring event (created from codejock calendar). After re-saving, it
populates these fields with values...
Any idea what could be causing this? What values should be set?
Please help!!
Thanks, Michael
|
Replies:
Posted By: nikorn
Date Posted: 29 January 2008 at 6:25am
I HAVE the same problem as you so I decided to spend some time to find a solution or at least a workaround to solve it. Well, in the last 4 hours I found a situation that could describe BUT NOT SOLVE the problem.
1. Created a recurrence event in MyApp 2. Exported it (get event from my dataprovider, add it as is to a mapi dataprovider). As you describe I can view it corerctly but my palm doesn't like it. 3. Created the SAME event directly into outlook calendar. 4. Compared them using http://www.dimastr.com/outspy/ - OutlookSpy
Found that the difference seems to be into two properties 0X802E (Start) and 0X802F (End).
A. When exporting from MyApp the first is set to StartDate, NOT HOUR, of the recurrence pattern; the second one in the same way of the first but for EndDate.
B. When creating directly into Outlook the first one is set to StartDate + StartTime and the second one to StarDate + StartTime + DurationMinutes.
Using OutlookSpy I changed these two properties, AND ONLY THESE, according to Outlook way then I plug in my Palm and now the sync works!!!
Repeated this task a couple of time and always worked!
BUT THE PROBLEM STILL REMAINS!!!!!!!!
In my Sync function I tried to correct StartTime and EndTime both on Event and Event.RecurrencePattern but the properties never changes their values; I guess this happens because a RecurrencePattern is set.
Finally, does any one knows how can I set the properties in MyApp or directly into outlook? I don't know nothing about mapi programming. Does any one knows any workaround to bypass the problem?
Please help me!!!
Thanks Nicola
|
|