Redemption access AppointmentItem Label from outlook

Status
Not open for further replies.
K

Ken Slovak - [MVP - Outlook]

The property for the label is the color, which is

"http://schemas.microsoft.com/mapi/id/{00062002-0000-0000-C000-000000000046}/82140003"

as a DASL property you can use in Redemption. That's a PT_LONG, so you set

it to an int value such as 1 for Important, 2 for Business, etc.

The actual text for the corresponding label colors is stored in a PT_BINARY

property on the folder, the property has a property tag of 0x36DC0102

("http://schemas.microsoft.com/mapi/proptag/0x36DC0102" in DASL).

You'd have to reverse engineer that binary if you want custom label text.

Offhand in a MAPI viewer it looks like it's an array where a default entry

is represented by a Unicode null (0x0000) and a custom label is then stored

in Unicode in little-endian style ("F" would be stored as 0x4600.

"entvex" <entvex@gmail.com> wrote in message

news:bdd217d1-96b9-42f2-85e1-91c30849b354@i25g2000yqm.googlegroups.com...
> Hello :)!

> How do I access the outlook calendars label ? from Redemption

> when I say label I mean those labels
> http://img153.yfrog.com/i/outlooklabel.png/

> Greetings Entvex
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
E

entvex

Hello I have tried getting the ID

Like this Appointment.GetIDsFromNames("0x36DC0102", "PT_BINARY")

But I can't seem to get any vale out if it ? what am I doing wrong :)

Greetings Entvex
 
K

Ken Slovak - [MVP - Outlook]

What you're doing wrong is that 0x36DC0102 is the actual property tag you're

trying to get from GetIDsFromNames(). Don't call that method at all, just

use that tag.

"entvex" <entvex@gmail.com> wrote in message

news:fae1a390-acde-41b5-8e8d-bf965039253d@g11g2000yqe.googlegroups.com...
> Hello I have tried getting the ID

> Like this Appointment.GetIDsFromNames("0x36DC0102", "PT_BINARY")

> But I can't seem to get any vale out if it ? what am I doing wrong :)

> Greetings Entvex
 
E

entvex

Quote

The property for the label is the color, which is

"http://schemas.microsoft.com/mapi/id/{00062002-0000-0000-

C000-000000000046}/82140003"

as a DASL property you can use in Redemption. That's a PT_LONG, so you

set

it to an int value such as 1 for Important, 2 for Business, etc.

Quote

Getting the label color value like that would be fine

But how do I get the ints ?

Greetings Entvex
 
E

entvex

I've fix it :D

this way Debug.WriteLine("Color: " +

Appointment.get_Fields("http://schemas.microsoft.com/mapi/id/

{00062002-0000-0000-C000-000000000046}/82140003"));

Thanks for all the help =)
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
E Redemption MAPI access(c#) Outlook VBA and Custom Forms 4
A Edit subject - and change conversationTopic - using VBA and redemption Outlook VBA and Custom Forms 2
N Redemption VBA basics...something's missing Using Outlook 0
D Redemption? Need rapid pull of Outlook Contacts, email + notes for VBA Using Outlook 1
J 64-bit version of Redemption? Outlook VBA and Custom Forms 2
W Redemption::RDOMail.PrintOut() / DoAction(maPrint) not working Outlook VBA and Custom Forms 1
B Use Redemption to get sender's email address Outlook VBA and Custom Forms 3
M EMail1Address and EMail1AddressType strangeness using Redemption Outlook VBA and Custom Forms 2
A Creating Redemption.MAPIUtils failed with Windows 7 x64 Outlook VBA and Custom Forms 5
D href tags does not result in the full url with Redemption Outlook VBA and Custom Forms 4
E Redemption Foldes.Add doesn't work Outlook VBA and Custom Forms 3
E Redemption Foldes.Add doesn't work Outlook VBA and Custom Forms 3
N Redemption.RDOSession logon() stops emails sending-they stay in Ou Outlook VBA and Custom Forms 3
E Should I switch to redemption Outlook VBA and Custom Forms 11
E Should I switch to redemption Outlook VBA and Custom Forms 11
C Redemption - Rules for outlook Outlook VBA and Custom Forms 1
G Error in Outlook Object Model with redemption and google apps prem Outlook VBA and Custom Forms 3
P Redemption Send EMail Outlook VBA and Custom Forms 10
S redemption reference Outlook VBA and Custom Forms 1
T Configure mailbox OutofOffice with Redemption Outlook Outlook VBA and Custom Forms 1
D redemption dll not registering in windows vista Outlook VBA and Custom Forms 3
Y Redemption MessageItem SaveAs problem Outlook VBA and Custom Forms 8
R Newbie Redemption ISafeMailItemPtr question Outlook VBA and Custom Forms 6
Q GAL.ResolveName issue with REDEMPTION Outlook VBA and Custom Forms 5
Q REDEMPTION HANGING during LOGON Outlook VBA and Custom Forms 2
P Redemption not working on OL2007 Outlook VBA and Custom Forms 2
P Redemption Send EMail fails Outlook VBA and Custom Forms 4
S delete appointmentitem permanently using redemption Outlook VBA and Custom Forms 2
D redemption - foldercreate event + delegate user Outlook VBA and Custom Forms 8
C Assign To and CC list while using Redemption.dll library Outlook VBA and Custom Forms 10
U Re: Read fields with Redemption Outlook VBA and Custom Forms 1
V redemption MAPIUtils Outlook VBA and Custom Forms 3
richardwing Outlook 365 VBA to access "Other Actions" menu for incoming emails in outlook Outlook VBA and Custom Forms 0
V How to add 'Previous Item' and 'Next Item' to the Quick Access Toolbar Using Outlook 1
J Text icon in Quick Access toolbar ? Using Outlook 2
Z Import Tasks from Access Using VBA including User Defined Fields Outlook VBA and Custom Forms 0
klpconsulting Programmatic Access Office 365 Pro Plus & RDS Using Outlook 1
Fozzie Bear Shared Public Folders Access and Use Exchange Server Administration 0
G How to add a folder shortcut to outlook quick access toolbar? Using Outlook 6
D Lost Access to Custom Form Outlook VBA and Custom Forms 4
Jennifer Murphy Grant R/W (update) access to a friend Using Outlook 3
O The page that you are trying to access cannot be loaded. Using Outlook 0
T Render Outlook emails in MS access as they appear in Outlook Outlook VBA and Custom Forms 2
T Outlook "A program is trying to access Outlook" Using Outlook 3
GregS Can't access archive file Using Outlook 5
J What is the best EntryID format to set on MS Access table Outlook VBA and Custom Forms 3
J No access to a Database BCM BCM (Business Contact Manager) 3
R How can I access my emails from corrupt offline files of MS Outlook ? Using Outlook 1
V Change default default save location to Quick Access Using Outlook 1
R Quick Access view in File Explorer when saving attachments Using Outlook 0

Similar threads

Top