V
Vladimir Chtchetkine
How can I make Outlook to treat my custom property as Integer? I have a
property that at MAPI level has type PT_LONG. When I'm adding this property
to the folder I'm using UserProperties.Add method. Unfortunately, the
closest type param that I can pass to this method is olNumber (which is
value 1). And at MAPI level this type is transformed to PT_DOUBLE which
makes my value "incompatible" with Outlook's "expectation". At the end the
column in Outlook is blank. However, as I noticed, you can add a column
(through a "Field Chooser") with type "Integer" which makes my PT_LONG value
visible in that column. So, the question is how do I do that
programmaticaly? How do I make Outlook to treat a property as an Integer?
TIA,
Vladimir
property that at MAPI level has type PT_LONG. When I'm adding this property
to the folder I'm using UserProperties.Add method. Unfortunately, the
closest type param that I can pass to this method is olNumber (which is
value 1). And at MAPI level this type is transformed to PT_DOUBLE which
makes my value "incompatible" with Outlook's "expectation". At the end the
column in Outlook is blank. However, as I noticed, you can add a column
(through a "Field Chooser") with type "Integer" which makes my PT_LONG value
visible in that column. So, the question is how do I do that
programmaticaly? How do I make Outlook to treat a property as an Integer?
TIA,
Vladimir