Need for speed (parsing all contacts)

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
 
S

Sue Mosher [MVP-Outlook]

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
 
M

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.=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
 
M

Mike

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
 
S

Sue Mosher [MVP-Outlook]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top