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

    Can Outlook appointment items be accessed via Linq?

    I have a class which allows me to read and write Outlook appointments either locally or on an Exchange server. This class uses COM Interop to drive the Outlook object model.

    It works, but is pretty slow when reading multiple users' calendars from Exchange.

    Is there a way to read this data using a Linq query or ADO? I have read that CDO is not supported in .Net. I could be wrong on this though.

    Another question: when I read this data from Outlook, I fire off a separate thread for each user's calendar. Each thread constructs its own Outlook Application object and reads the data. Would I be better off creating a single Outlook Application object and passing it to each thread instead? Seems to me this would blow up rather quickly, but I'm no expert. Thanks.

    Using .Net 3.5SP1
    Last edited by purpleflash; July 16th, 2009 at 11:35 AM. Reason: clarification

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