![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#5
|
|||
|
|||
![]()
Dmitry - thanks for getting me back on track
"Dmitry Streblechenko" wrote: {00063033-0000-0000-C000-000000000046} is IID_AppointmentItem. It has absolutely nothing to do with the named property GUID. Look at an activity with OutlookSpy (click IMessage), find the property, select it, look in the "Named Property" box on the right hand side of the window - that's the GUID and id (0x8205) that you need. Also see http://www.dimastr.com/redemption/utils.htm#xmapi Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Tadwick" wrote in message ... Ken, Thanks, I didn't mean to show favouritism! My GUID for BusyStatus is {00063033-0000-0000-C000-000000000046} with OL2003 std. Is that just a version difference? Tad "Ken Slovak - [MVP - Outlook]" wrote: I'm not Dmitry but... The first argument is the GUID for a named property, the second is the property tag and the value you OR with depends on the property type (i.e. PT_STRING8, PT_BOOLEAN, PT_LONG, etc.). You need all 3 to create a valid property tag. BusyStatus would use the GUID "{00062002-0000-0000-C000-000000000046}". It's a PT_LONG, so that would be &H3. The tag for BusyStatus would be &H8205. So, your code line would be: Const PT_LONG = &H3 Const BusyStatusGUID = "{00062002-0000-0000-C000-000000000046}" Const BusyStatusTag = &H8205 lngPropTag = sItem.GetIDsFromNames(BusyStatusGUID , BusyStatusTag) OR PT_LONG lngBusyStatus = sItem.Fields(lngPropTag) The easiest way to find all those values is with a MAPI viewer such as OutlookSpy or MFCMAPI. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Tadwick" wrote in message ... Dmitry, Can you pls assist - I am using Redemption to retrieve a mapi table but getting stuck on the outlook appointment properties like BusyStatus etc. I got the GUID for the property but unsure how to tailor these lines from your documentation: PT_STRING8 = &H1E PR_FILE_UNDER = sItem.GetIDsFromNames("{00062004-0000-0000-C000-000000000046}", &H8005) or PT_STRING8 What is the second parameter in the GetIDsFromNames method and what does the "or PT_STRING8" do? Thanks, Tad p.s. Seeing impressive performance gains with Redemption ! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook Redemption | fgibbcollins | Outlook and VBA | 2 | March 16th 06 06:03 PM |
Redemption | Christoph | Add-ins for Outlook | 5 | March 6th 06 03:26 PM |
Convert to Redemption ??? | John DOE | Outlook and VBA | 2 | February 13th 06 06:22 AM |
Crash with Redemption | Lars Ibsen | Outlook and VBA | 4 | February 13th 06 05:29 AM |
Redemption MAPITable | Dmitry Streblechenko | Add-ins for Outlook | 1 | January 12th 06 04:09 AM |