[Outlook] Password-secured *.pst files

Add-in Express™ Support Service
That's what is more important than anything else

[Outlook] Password-secured *.pst files
Wim W.A. ten Brink

Workshop Alex

Posts: 30
Joined: 2005-11-23
During testing of my add-in, I added a new *.pst file to Outlook which is password-protected. The password is NOT stored in Outlook's passwords list so every time the user needs access to this folder, they have to enter their password. Once they entered their password, Outlook will remember it until Outlook is closed again.

Is there any way to detect if any Outlook folder is password protected before trying to get access to this folder? The reason for this is simple: when Outlook starts, my application tries to walk through a few folders. When it accesses a protected folder, the user gets a dialog asking for the password of this folder. If the user presses cancel, that folder will stay closed until they start Outlook again. I want to avoid this in any way, if possible.
With kind regards,
\/\//\ Workshop Alex
Posted 24 Feb, 2006 04:33:19 Top
Dmitry Kostochko

Add-in Express team

Posts: 2880
Joined: 2004-04-05
Hi Wim,

I am afraid it is impossible.
Posted 24 Feb, 2006 08:19:56 Top