CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Posts
    199

    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!

  2. #2
    Join Date
    Sep 2008
    Posts
    15

    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 ?

  3. #3
    Join Date
    Sep 2006
    Posts
    199

    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.

  4. #4
    Join Date
    Nov 2007
    Posts
    74

    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
  •  





Click Here to Expand Forum to Full Width

Featured