Problem with user property(VB6)

  • Thread starter Thread starter song
  • Start date Start date
S

song

Hi,

While trying to add user property by userproperties.add method. Though I use
olNumber, it always save as PT_DOUBLE.I think it should be PT_LONG.

Is it an error or something? How can I set it to be PT_LONG?
 
That's what you get when you use olNumber for a user property using the
Outlook object model. To create a PT_LONG you would need to use CDO 1.21
(optional installation for Outlook 2000 and later), Extended MAPI (C++ or
Delphi only) or Redemption (3rd party library at www.dimastr.com/redemption)
code. Using those methods you can add a named property of type PT_LONG.
 
Back
Top