How can i create PST-Files?

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

How can i create PST-Files?
Export calendar items into a pst-file 
Philipp Eicher




Posts: 1
Joined: 2005-09-28
Hi @all,

is there a way to create a pst-file with outlook calendar objects with delphi?

I hope somebody can help me... :?:

Bye,
Philipp
Posted 28 Sep, 2005 09:10:45 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Philipp,

AddStore Method
Adds a Personal Folders (.pst) file to the current profile.

expression.AddStore(Store)
expression - Required. An expression that returns a NameSpace object.
Store - Required Variant. The path of the .pst file to be added to the profile. If the .pst file does not exist, Microsoft Outlook creates it.

Remarks
Use the RemoveStore method to remove a .pst that is already added to a profile.

Posted 28 Sep, 2005 10:01:14 Top
peicher


Guest


Hi Dmitry,

thanks for your answer!

Now i have a pst file for the current profile, but how can i export a folder, like the calendar, to this pst file?

Bye,
Philipp
Posted 26 Oct, 2005 04:50:52 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Philipp,

The Outlook Object Model doesn't have a function for exporting/importing, so I think you will have to copy the folder content item by item.

Posted 26 Oct, 2005 08:20:57 Top