code for get Get Outlook Personal files's name

K

kidder

Hello,
I have two outlook (Microsoft Outlook Internet
Settings 1.FAV, 2.FAV), when I run outlook by one of
Settings, How can use some sdk, outlook objects or api get
the .pst file name?
 
K

Ken Slovak - [MVP - Outlook]

You would have to use CDO 1.21, Extended MAPI or Redemption for that.
Each PST file is opened as an InfoStore and has a MAPI property
PR_STORE_ENTRYID. The file name and path of the PST file is embedded
within that binary property and can be extracted from it as a string
value by parsing the binary value.

This isn't easy or documented and using CDO, MAPI or Redemption is
nowhere as easy as using the Outlook object model.

For information about using CDO and CDO property tags see
www.cdolive.com/cdo5.htm and www.cdolive.com/cdo10.htm and for
information about Redemption see www.dimastr.com/redemption. Both CDO
and Redemption can be programmed in any high-level language. Extended
MAPI can only be programmed using C++ or Delphi.
 

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