A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

create pst file with vba



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 17th 07, 08:57 AM posted to microsoft.public.outlook.program_vba
Juergen Weinmann
external usenet poster
 
Posts: 2
Default create pst file with vba

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

Ads
  #2  
Old February 17th 07, 11:45 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default create pst file with vba

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



  #3  
Old February 19th 07, 07:19 AM posted to microsoft.public.outlook.program_vba
Juergen Weinmann
external usenet poster
 
Posts: 2
Default create pst file with vba

"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

  #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



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i create a .pst file? Tim Outlook - Using Contacts 3 January 16th 07 12:09 PM
VBA to list all created PST file name/location in personal folder Pitak Outlook and VBA 3 July 26th 06 06:02 AM
Change VBA Reference from PST to OST File Karl Burrows Outlook and VBA 1 July 18th 06 02:54 PM
create pdf file from vba Nader Outlook and VBA 3 May 12th 06 02:26 PM
Compress PST-File with VBA Heinz-Dieter Janzen Outlook and VBA 1 February 28th 06 04:55 PM


All times are GMT +1. The time now is 04:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.