A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Redemption - MapiTable : BusyStatus



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old August 10th 06, 06:36 PM posted to microsoft.public.outlook.program_vba
Tadwick
external usenet poster
 
Posts: 104
Default Redemption - MapiTable : BusyStatus

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 03:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.