View Single Post
  #6  
Old April 16th 07, 10:57 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to store custom data with Folder

Select the "This is a named property" radio box, then in the ID edit box
specify either an integer ID (if Kind = MNID_ID) or a srting name (if kind
= MNID_STRING). What that id/name is up to you. Same with the GUID: if you
want to make sure nothing ever collides with your custom tag, pick your own
ubique GUID.
As for perfromance, why can't it be stored in the registry? Or cached in
memory?

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

"j" wrote in message
ups.com...

Thanks,

2. Click IMessage button on the OutlookSpy toolbar, then click "Add
Property" button.


But where in appeared dialog form i set the name for property??? and
ID ?? how should i get it or calculate it.


Dmitry maybe there is workaround concerning the folder's proeperty??
All i need to save is one property
and every time create RDOFolder and check for hidden item and get the
property from this item it will strike the performance.
I should check for this property every time for every mail that i get.


Thanks in advance.



Ads