You would need to open the PST file using Namespace.AddStore, loop through
the folders and items in that store, and call ContactItem.SaveAs ...,
olVCard for the contacts that you want to save.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You can't. A PST file is a container that has emails, contacts,
> appointments, etc. It has nothing to do with VCF items which are contacts
> saved in a specified text format.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "Lin xi" <Lin (E-Mail Removed)> wrote in message
> news:A2202B80-00E8-4650-98F3-(E-Mail Removed)...
>> Hi:
>> I have a question.How can I convert .pst format to .vcf format? or How
>> can
>> I export
>> Outlook's .pst format to .vcf format?
>>
>