Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / July 2005

Tip: Looking for answers? Try searching our database.

Path and name of .pst-files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Markus Jakobi - 27 Jul 2005 15:54 GMT
Hi all,

is there a way to find out the path and filename of the currently used
.pst-file ("Outlook Today") with VBA? Version installed is Outlook 2000.
What I mean is the path and filename that is displayed under Properties ->
Advanced -> Path.
I'm also looking for a way to find out the path and name of the "Default
archive file" (Tools -> Options -> Other -> AutoArchive) with VBA.

Any hints are greatly appreciated.

Thanks alot --
Markus
Sue Mosher [MVP-Outlook] - 27 Jul 2005 16:49 GMT
Any PST file's path can be hacked from the store's EntryID. See http://www.outlookcode.com/codedetail.aspx?id=680 for sample code.

The default AutoArchive file is stored in the Windows registry as part of the mail profile. The KB article at http://support.microsoft.com/default.aspx?scid=kb;en-us;836755 provides the clues needed to find it (assuming you know how to read PRF files).

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Hi all,
>
[quoted text clipped - 9 lines]
> Thanks alot --
> Markus
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.