Print Page | Close Window

MAPI data and MapiEntryID

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=13898
Printed Date: 29 May 2025 at 6:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MAPI data and MapiEntryID
Posted By: sguy12
Subject: MAPI data and MapiEntryID
Date Posted: 02 April 2009 at 2:31am
hi,
 
Using the MAPI connection, i am trying to get the MAPIEntryID off any Calendar Event.
 
all events are showing correct but,
 
i am getting '????????' question marks instead ot the real outlook entryid.
 
what went wrong?
 
regards,
 
Guy
Masadit Software



Replies:
Posted By: sguy12
Date Posted: 13 April 2009 at 9:19am
i guess my question is not clear....here is the code is use (AFTER connection to MAPI connection)

CalendarControl.Populate()

Dim eventList As XtremeCalendarControl.CalendarEvents = CalendarControl.DataProvider.GetAllEventsRaw

Dim MyEvent As XtremeCalendarControl.CalendarEvent = eventList(0)

Dim s As String = MyEvent.CustomProperties.SaveToString

 

the String value in "s" is:

<Calendar CompactMode="1"><CustomProperties><CustomProperty Name="mapientryid" Value="" VariantType="8209"/><CustomProperty Name="mapisearchkey" Value="????????" VariantType="8209"/></CustomProperties></Calendar>

AS you can see the value of "mapientryid" is empty.
 
HOW can i recieve this value from the calendar control?
 
regards,
 
Guy
Masadit Software
 


Posted By: mdoubson
Date Posted: 13 April 2009 at 10:30pm
"???????" often means unicoded content inside non-unicoded code. Is your version of Calendar built as unicoded or not?

-------------
Mark Doubson, Ph.D.


Posted By: sguy12
Date Posted: 14 April 2009 at 3:14am
hi,
well, i tried using the UNICODE OCX. this time i got this string (in "CustomProperties")

<Calendar CompactMode="1"><CustomProperties><CustomProperty Name="mapisearchkey" Value="ְ⼯䜴碬グ熘렪" VariantType="8209"/><CustomProperty Name="mapientryid" Value="" VariantType="8209"/></CustomProperties></Calendar>

i got unrecognized letters in the propertie "mapisearchkey"

and STILL, the "mapientryid" (Which is the value i really need...) is empty (it's value returns nothing)
plz, help...
GUY.


Posted By: mdoubson
Date Posted: 16 April 2009 at 9:32am
You use custom case - question - who fill this mapisearchkey ?

-------------
Mark Doubson, Ph.D.


Posted By: sguy12
Date Posted: 21 April 2009 at 3:17am

Well,

no one writes to the "mapisearchkey" value.
 
BUT, i am interested in the "mapientryid" value. "EntryID" is the unique ID for each item in MS-OUTLOOK.
 
SO, i guess "mapientryid" should contain this value.
I Really need "mapientryid" for the outlook appointments.
 
but, the value return empty for each MAPI connection i make to any outlook calendar...
 
how can this be fixed?
how can i get the "EntryID" of an item in outlook through the MAPI connection?
 
need help,
guy.
 


Posted By: jpcoffeyXXX
Date Posted: 05 June 2009 at 2:07pm
sqguy, did you ever get this figured out?  I am trying to sync Outlook to my application and need to have the "mapientryid" as well.  Were you able to successfully retrieve it after trying the unicode version of the calendar control?  Thanks for your feedback. 
 
Sincerely,
 
John P. Coffey
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net