|
-
February 14th, 2009, 04:25 AM
#1
Read Outlook appointments via LINQ or ADO?
I have an app which reads other users Outlook appointments. It works fine, but is very slow when reading from calendars of other people. (Data comes from an Exchange server).
Currently I'm using the Outlook Object Model to read the data. Thru testing I've determined that the GetFirst() and GetNext() methods are the bottlenecks.
I've implemented the MSDN recommendation to call Sort() before using Restrict() or Find()... but no help.
So I'm wondering if I would be better off ditching the OOM and instead using a LINQ query or ADO to access Outlook data on an Exchange server?
Thoughts... examples? Thanks in advance!
-
February 14th, 2009, 07:20 AM
#2
Re: Read Outlook appointments via LINQ or ADO?
Sad, you need better performance while some people might just need the task done. My idea sounds truly a bad bit among online IT community after all.
What dotnet version do you have ?
-
February 14th, 2009, 08:13 PM
#3
Using .Net 3.5sp1
The problem is, it can take from 20 to 60 seconds to read the calendars of 5-6 people... I'm afraid the users of my app will be intolerant of such a delay.
-
February 14th, 2009, 09:22 PM
#4
Re: Read Outlook appointments via LINQ or ADO?
http://www.outlookcode.com/article.aspx?id=25
The code is poorly written so with the outlook, I hope my answer already help you..
If not then please wait for someone else, because there are many online computers on codeguru that one can offer you a more correct answer
No need to speak up you still have an answer from teh person online in charge.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|