Problem with user property(VB6)

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?
 
K

Ken Slovak - [MVP - Outlook]

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.
 

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