Hi,
I have a weird problem with UserProperties of Oulook 2003. The first time that an email is opening, I add a new UserProperty and I save it. If I close, and open and close and open and so on the email (which contains my UserProperty), I can find my property at the opening of the email. If I verify the number of UserProperty (with UserProperties-
[Quoted Text] >get_count fct), my property is there and I'm able to find it with the
find function. Also, I can see the property in the column (field) that I display.
However, if I display another email or I click on the email group namebar (ex : "Date:Today", where we can expand or collaps a group of emails) so that the email disappears from the reading pane, the UserProperties returns no UserProperty ( UserProperties->get_count return 0 ) at the opening of the email when I re-open it. But my UserProperty has been save before closing the email and I can see the value of my UserProperty in the current view.
The question is Why ??? This is a setting of my Outlook, a bug in Outlook or it's a bug in my code ? I'm developping a COM add-in in C++ and I use the CDO function to get and set UserProperty.
I don't know if my explanations are comprehensible, I've some difficulties to explain the problem.
Thank. Mathieu
|