A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Calendar.Items.Find(..) is very slow with Exchange 2010



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 22nd 11, 01:33 PM
ChristianHGermany ChristianHGermany is offline
Junior Member
 
First recorded activity at Outlookbanter: Feb 2011
Posts: 2
Default Calendar.Items.Find(..) is very slow with Exchange 2010

Hi,

the following code runs using Exchange 2003 much more faster than with Exchange 2010. The data amount is the same.

Dim oAppointments As clsAppointments
Set oAppointments = New clsAppointments

Dim oItems As Outlook.Items

Set oItems = oCalendar.Items
oItems.Sort "[Start]"
oItems.IncludeRecurrences = True
Dim oTemp As Object

Set oTemp = oItems.Find(strSearchParam) ' - These call needs 5x longer using Exchange 2010 than using Exchange 2003

'strSearchParam contains the value:
'[End] "Montag, 7. Februar 2011 00:00" and [Start] = "Sonntag, 13. Februar 2011 23:59"

What do I have to consider using Exchange 2010? Do I have to configure something on the Exchange 2010?

Thanks
Christian
Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Old calendar items reoccur, but can't find original information maryg Outlook - Calandaring 2 April 14th 09 05:04 PM
How do you find missing calendar items JHodges Outlook - Calandaring 1 September 14th 08 02:48 AM
SharePoint Calendar vs Exchange User's Shared Calendar vs ExchangePublic Folder of Calendar Items Jeff Outlook - Calandaring 1 March 3rd 08 07:03 PM
creating calendar items VERY slow Al Blake Outlook and VBA 1 February 28th 06 01:13 PM
2003 calendar's find, doesn't find items created today till tomarr Support7556 Outlook - Calandaring 11 January 20th 06 09:54 PM


All times are GMT +1. The time now is 04:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.