code for get Get Outlook Personal files's name

  • Thread starter Thread starter kidder
  • Start date Start date
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?
 
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.
 
Back
Top