Previous Thread:   New email event

9/23/2005 7:09:04 AM    Reference to PST files
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.



9/24/2005 4:54:29 PM    Re: Reference to PST files
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  
  
"Rodrigo Ayres" <RodrigoAyres@discussions.microsoft.com> wrote in message  
  
news:11815141-D287-4824-9402-5351BA16CB6C@microsoft.com...