You are here: Office-Outlook.com  / Outlook Forum

Walk folder - using cached folders

Home » Outlook addins and plugins development » Outlook forms
Walk folder - using cached folders [message #412555] Fri, 05 September 2008 14:15
Jack
Messages: 158
Registered: August 2006
Senior Member
I have an application that needs to walk through the folders and determine
the folder type (contact, calendar and task) then execute a task

what I am encountering is a large delay when it walks the Exchange based
folders, regardless if the folders are cached or not.

Is there a way to have it walk through the cached folder and not hit the
server every time it does this? The latency is killing me with the current
code, listed below.

for i = 1 To gobjOutlook.Session.Folders.Count
Set MAPIFolder = gobjOutlook.Session.Folders.item(i).Folders.item(j)
blah
next
Previous Topic:Walk folder - using cached folders
Next Topic:Is it possible tse my VB procedure in Form VBS script ?
Goto Forum: