where do I get CDO--Constants ?

  • Thread starter Thread starter Michael.Kensy
  • Start date Start date
M

Michael.Kensy

Hi,

sure I searched for and found some sites but they don't deliver right ones
....

For example somewhere at MS-Site value of CDOPR_FORM_HIDDEN is publihed to
be '&H3307000B'. It does not work but using the cdolive sample
'ReadFolderProperties' where same constant is published to be '&H6803000B'
works ...
some other constants (CDOPR_FORM_...) published at the MS-Site does not
deliver any value. So where do I get right tag values?

thanx Michael
 
There are very few Extended MAPI properties that are reguired to be exposed
by various objects (e.g. PR_ENTRYID must be exposed by messages and
folders). Most of the properties are optional, whether they are present or
not depends on the message store provider and the code that created a
particular object. To see available properties, look at the message that you
are interested in using either MdbView or OutlookSpy (click IMessage).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Thanx again Dmitry,

....

Dmitry said:
There are very few Extended MAPI properties that are reguired to be
exposed by various objects (e.g. PR_ENTRYID must be exposed by
messages and folders). Most of the properties are optional, whether
they are present or not depends on the message store provider and the
code that created a particular object. To see available properties,
look at the message that you are interested in using either MdbView
or OutlookSpy (click IMessage).

.... ok, I see but ...

.... does value of constants like 'CDOPR_FORM_HIDDEN' also depend on the
message store provider ?
You see me astonished ... so I think published value is published wrong,
isn't it?

Thanx Michael
 
What exactly are you trying to do? There is nothing wrong with these
property tags, if a tag is defined somewhere, it does not mean it will be
used anywhere at all. The symbolic name really does not matter at all, only
its value (4 bytes int).
PR_FORM_HIDDEN is only used on IMAPIForm objects (they are not accessible at
all in CDO).
I don't think I have ever seen 6803000B defined or used anywhere, only
PR_MAILBEAT_REQUEST_RECEIVED (0x68030040) and PR_NewsfeedDN (0x6803001E).
Where did you find 0x6803000B?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Hi

Dmitry said:
What exactly are you trying to do? There is nothing wrong with these
property tags,
....
I try to construct an outlook.commandbar presenting buttons to a folders
published and *not hidden* forms ...
PR_FORM_HIDDEN is only used on IMAPIForm objects (they are not
accessible at all in CDO).
I don't think I have ever seen 6803000B defined or used anywhere, only

that's interesting because it works :-).
PR_MAILBEAT_REQUEST_RECEIVED (0x68030040) and PR_NewsfeedDN
(0x6803001E). Where did you find 0x6803000B?

I found this value at CDOs 'ReadFolderProperties' sample. When I changed the
value (at MSDN published
http://msdn.microsoft.com/library/d...en-us/cdo/html/_olemsg_mapi_property_tags.asp
to be) '&H3307000B ' to '0x6803000B' everything works so I can't believe
value is wrong ... sorry

cu Michael
 
Back
Top