Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Reading .pst files

Posted on 2004-08-25
2
Medium Priority
?
352 Views
Last Modified: 2010-05-02
Is there a way in VB or VBA to open a .pst file from a given location then read all the emails and folders that are in that file just like you would if it were already in Outlook I have about 400 .pst files that need to be read through they are all archived files and I need to read each and every email that is in them.  I also need to read all information about each email i.e. Subject, body, SentOn ...

Thank you
0
Comment
Question by:davidtrina
2 Comments
 
LVL 22

Accepted Solution

by:
DarkoLord earned 400 total points
ID: 11898313
I think you can't read a .pst file directly... you would have to load them in Outlook and then use the Outlook automation DLL to read the info you need...

Darko
0
 
LVL 1

Author Comment

by:davidtrina
ID: 11914380
Is there a way to load them programmatically?
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question