Reference to PST files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello!

I have an archived PST file open in my Outlook, and I am trying to write
code that will enable me to edit properties of the email items inside this
PST file. I have been using

Set Ns = GetNamespace("MAPI")
Set Inbox = Ns.GetDefaultFolder(olFolderInbox)

but obviously that code only allows you to access the inbox folder in the
MAPI server.

Can anyone help, please? Thanks in Advance.
 
Use the Namespace.AddStore method to add a PST file not yet in thee current
profile. Otherwise use the Namespace.Folders collection to iterate through
the top level folders of the stores in the current profile.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top