You are here:  / Outlook Forum

Walk folder - using cached folders

Home » Outlook addins and plugins development » Outlook forms
Walk folder - using cached folders [message #408735] Fri, 05 September 2008 14:15
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)
Previous Topic:Insert Date - Format Text / Cursor Location
Next Topic:Walk folder - using cached folders
Goto Forum: