-
Sep 26th, 2013, 08:26 AM
#1
Thread Starter
Lively Member
Selecting a directory and looping through all outlook PST stored in the directory
Hi
I need to pick a folder on my computer which is holding many PST files. Once the directory is selected then I would like to open each PST and carry out some processing. I already have the code working for the processing but I don't know how to a) pick the directory to check (can change each week) and b) how to loop through each PST and open it.
Many thanks for anything you can offer.
-
Sep 26th, 2013, 10:10 AM
#2
Re: Selecting a directory and looping through all outlook PST stored in the directory
Solution:
Look up the SHBrowseForFolder-API for picking a directory
Look up the Dir-command to loop through all PST's
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
-
Sep 27th, 2013, 07:14 AM
#3
Thread Starter
Lively Member
Re: Selecting a directory and looping through all outlook PST stored in the directory
Thanks for the tip. I'm not at all familar with coding for Outlook access. Any snippit of code available or do you know where I can find examples? I have trawled through a lot of Google results but nothing comes that fits the bill.
-
Sep 27th, 2013, 07:19 AM
#4
Re: Selecting a directory and looping through all outlook PST stored in the directory
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|