views:

446

answers:

2

I'd like to programmatically add a PST file to a person's Outlook profile. I found some code here:

http://www.eggheadcafe.com/community/aspnet/65/10030171/try-this-code.aspx

While that does the trick, it still leaves the question - "Where does outlook keep this list of mounted PST files?" Is it in the registry? A config file somewhere? Anybody?

+1  A: 

That's an internal implementation detail subject to change from version to version.

jeffamaphone
...and you should use an API call to get the list of mounted PST files, instead of digging around in Outlook's mechanisms
Paul Betts
Touche - I suppose it is, and I should be using the API. I suppose I'll solve my problem by writing a tool that lists the PST files, detaches them all, moves the files to a new location, and then attaches the new files.Thanks for the reality check.
rwmnau
A: 

It's in the registry, by the way.

Terry Mahaffey