Outlook Objects Extra Information

A

Anthony Yio

Hello,

I am not sure if my question make sense to you all, if there are better
approaches than this.
How do I write extra information into MAPIFolder objects, outlook items like
Task Item, Notes item, Contact Item and etc ,which eventually will be saved
into the *.PST file. I need to somehow place in a ID for each of these
items.

I found this MAPIFolder - Description property in the Outlook Reference but
I found that this description property could be changed by the user in the
Outlook itself which is unacceptable in my case. I need the property to be
inaccessible from the user but accessible throught the VBA. Also, the
description property is only for MAPIFolder object, I need to place into
outlook items as well.

Any suggestions?

thank you
 
H

Henry Gusakovsky

You can store that id in custom MAPI properties.
Or you can use named properties to avoid tag conflicts.
All Outlook objects store in the pst via MAPI interfaces (IMAPIFolder and
IMessage).
They are accessible in OOM via MAPIOBJECT property.

That interface is custom interfaces.
So to use them in VBA you shold use third-party libs like Outlook
Redemption.

WBR
Henry
 

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