Need for speed (parsing all contacts)

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Using VB6 I need to export some fields from all the contacts in a
folder collection including the EntryID of each contact which really
slows down things.

I'm currently using "For Each" to examine all the items in a folder
and considering my 300 contact test bed results I'm not excited by the
prospects of using this against public folders with several thousand
contacts in it.

Is there a faster method such as reading the pst file directly?

-mike
 
Not with Outlook objects in versions before 2007, although you can get some performance improvement by using SetColumns. The alternatives are Extended MAPI, CDO 1.21, Outlook Redemption, and Outlook 2007.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Sue Mosher said:
Not with Outlook objects in versions before 2007, although you can get =
some performance improvement by using SetColumns. The alternatives are =
Extended MAPI, CDO 1.21, Outlook Redemption, and Outlook 2007.=20

What in particular can I do with Redemption to iterate contacts faster
than using objects? This has to work with older versions of Outlook
(at least back to 2000)

Thanks
-mike
 
For read-only access, the Table object delivers performance similar to that of CDO 1.21.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


Mike said:
I'm currently using "For Each" to examine all the items in a folder
and considering my 300 contact test bed results I'm not excited by the
prospects of using this against public folders with several thousand
contacts in it.

Is there a faster method such as reading the pst file directly?

-mike

Sue Mosher said:
Not with Outlook objects in versions before 2007, although you can get some performance improvement by using SetColumns. The alternatives are Extended MAPI, CDO 1.21, Outlook Redemption, and Outlook 2007.


What is the new Outlook Objects method in Outlook 2007 for searching
multiple contact fields?

Best Regards,
-mike
 
Back
Top