View Single Post
  #4  
Old February 19th 07, 08:43 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default create pst file with vba

Ah!, sorry, you are right, I was thinking about "High Encryption" (which is
off).
You can either use Extended MAPI (C++/Delphi only) to
programmatically add a new PST file and specify (among other properties)
PR_PST_ENCRYPTION.
plug You can also use Redemption (url below) - call
RDOSession.Stores.AddPstStoreWithPassword and specify psteNoEncryption as
the last parameter: http://www.dimastr.com/redemption/rdo/rdostores.htm
/plug

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Juergen Weinmann" wrote in message
. 134...
"Dmitry Streblechenko" wrote in
Thanks, Dmitry,

Unfortunately not. It's always set to "Compressible Encryption". It
doesn't matter if I use AddStoreEx or just AddStore.

I'm using vbScript and OL2003.

Did you use the same environment?

Thanks again.

Juergen

:

When calling Namespace.AddStore, the newly created PST file will
default to "no encryption".

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Juergen Weinmann" wrote in message
. 134...
Hello vba experts,

is it possible to set the encryption to "no encryption" when creating
a new
PST file with VBA?

Thanks in advance.

Juergen

--
Juergen Weinmann







--
Juergen Weinmann



Ads