PR_CREATOR_NAME and PR_LAST_MODIFIER_NAME not available

G

Gabi Fruhner

Hi,

can anyone tell me, why CDOProps PR_CREATOR_NAME and PR_LAST_MODIFIER_NAME
are not available / not stored.
Get only MAPI_E_NOT FOUND errors, OutlookSpy doesn't show them and they are
not listed in CDOPropTags.
What's the reason.

WinXP
OL2000 / 2002
CDO 1.21

Thanks

Gabi
 
D

Dmitry Streblechenko \(MVP\)

It is up to the store providet which properties to expose. Are you using PST
or Exchange?
Exchange knows who the current user is, PST on the other hand has no idea.

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

Dmitry Streblechenko \(MVP\)

Yes, you can set a custom property on a message. I am not sure what you mean
by "WITHOUT FIRING Outlook Event".

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

Gabi Fruhner

Setting a custom property for the CUSTOM_LAST_MODIFIER is not a problem.
But message must be saved after setting and then Outlook ItemChange Event
should not fire at this action.
I want to set this property at ItemChange Event and when I set the property
here and save the message ItemChange Event will fire again and this would be
a never ending story.

Gabi
 
D

Dmitry Streblechenko \(MVP\)

You can use a global flag to indicate that the next call to ItemChange must
be ignored.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top