![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I want to write a outlook plug-in that reads pst files. I want to know how do I know 1. Which pst files are used in the curent open outlook session 2. Which of these pst files are password protected 3. APis that support password parameter while reading a pst file. thanks in advance. Ashutosh |
Ads |
#2
|
|||
|
|||
![]()
What plugin? COM add-in or an Exchange Client Extension? What programming
language? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Ashutosh Ambekar" Ashutosh wrote in message ... Hi, I want to write a outlook plug-in that reads pst files. I want to know how do I know 1. Which pst files are used in the curent open outlook session 2. Which of these pst files are password protected 3. APis that support password parameter while reading a pst file. thanks in advance. Ashutosh |
#3
|
|||
|
|||
![]()
Hi Dmitry,
thanks for response. It is a COM add-in using managed C++ (using MFC in static library and static link to ATL). regards, Ashutosh "Dmitry Streblechenko" wrote: What plugin? COM add-in or an Exchange Client Extension? What programming language? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Ashutosh Ambekar" Ashutosh wrote in message ... Hi, I want to write a outlook plug-in that reads pst files. I want to know how do I know 1. Which pst files are used in the curent open outlook session 2. Which of these pst files are password protected 3. APis that support password parameter while reading a pst file. thanks in advance. Ashutosh |
#4
|
|||
|
|||
![]()
I don't use C++, but I don't think you can use natively use MFC or ATL in a
*managed* code. If you are using unmanaged C++, you can resort to Extended MAPI, otherwise you will need to use something like mapi33 library (/Net wrapper for Extended MAPI). 1. You will need to loop through the stores in the current session (IMAPISession::GetMsgStoresTable) and for each store check if the value of the PR_MDB_PROVIDER property is MSPST_UID_PROVIDER 2. You can check the value of the PR_PST_ENCRYPTION property in the corresponding PST profile section - see http://www.google.com/search?hl=en&l...ervice+msp st 3. When adding a new PST file to the session, you will need to specify the PR_PST_PW_SZ_OLD and PR_PST_PW_SZ_NEW properties - see plug You can use Redemption for that (usable from any language, managed or unmanaged, see the url below) - RDOStore object (http://www.dimastr.com/redemption/rdo/rdostore.htm) exposes the StoreKind property. You can also use the RDOStores.AddPstStoreWithPassword method. /plug Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Ashutosh Ambekar" wrote in message ... Hi Dmitry, thanks for response. It is a COM add-in using managed C++ (using MFC in static library and static link to ATL). regards, Ashutosh "Dmitry Streblechenko" wrote: What plugin? COM add-in or an Exchange Client Extension? What programming language? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Ashutosh Ambekar" Ashutosh wrote in message ... Hi, I want to write a outlook plug-in that reads pst files. I want to know how do I know 1. Which pst files are used in the curent open outlook session 2. Which of these pst files are password protected 3. APis that support password parameter while reading a pst file. thanks in advance. Ashutosh |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Password Protected PST | Jack | Outlook - General Queries | 5 | November 23rd 06 04:43 AM |
password protected .pst files... | Brad Pears | Outlook - General Queries | 14 | September 14th 06 04:23 PM |
unable to open password protected PST file... | Brad Pears | Outlook - General Queries | 1 | September 8th 06 09:22 PM |
Password Protected PST - Profile Migration | Bunny | Outlook - General Queries | 2 | May 24th 06 11:18 PM |
Password protected pst | Bigdog63121 | Outlook - Installation | 1 | February 7th 06 04:52 PM |