« Inbox 3.0 Update... Flag Synchronization! | Main | Getting an Outlook PST's file path from it's StoreID in C# »
Inbox 3.0 Archiving
One of the new features of Inbox 3.0 is the ability to archive older posts to another PST. It's an extension of the Cleanup Wizard that was introduced in Inbox 2.6.8. That wizard only cleans up Inbox's internal data store, but leaves everything in Outlook. The new wizard gives you the ability to select which posts should be cleaned up and if they should be deleted or archived:
(Yes, I stole FeedDemons options... Nick Bradbury can sue me :-)
To do this, I needed a way of checking the file paths of the PST's that the user has open in order to use the correct PST or create a new one. Since Inbox 3.0 will still be Outlook 2000 compatible, I needed to find a way to get this information that doesn't use anything too new to the Outlook Object Model (in this case the new Stores Interface).
After some research, I learned that the file path is actually encoded into the StoreID, but could only find VB code to extract that information. So I ported the code to C# and plan on posting it, but wanted to give the introduction in this post.
I'm trying to be more conscious about search engines and some other poor developers trying to find the information I spent 3 hour looking and coding for... so instead of making those poor devs read through this introduction before getting to what they need, I figured I would split it into two posts :-)
Posted by Nick Harris on September 4, 2007 at 07:57 PM | Permalink
Comments
I'm also gonna sue you for using my first name, 'cos I had it first.
Posted by: Nick Bradbury | Sep 5, 2007 10:56:28 AM
The comments to this entry are closed.