Entries Categorized as 'Office'

Improve LINQ Query Performance

Date February 19, 2008

I was writing a small utility for Outlook 2007 and was using LINQ to query Outlook Tasks.  This query was nested within another query.  While debugging, I realized that looping though the query results in my For Each loop was taking too long.
If you have read anything about LINQ, I am sure you already know […]

Get Tasks in Outlook 2007 with VB.NET

Date January 6, 2008

You can retrieve the list of tasks in your Outlook 2007 using the following code
Dim ns As Outlook.NameSpaceDim tasks As Outlook.Itemsns = Application.GetNamespace(”MAPI”)tasks = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderTasks).Items
Dim task As ObjectFor Each task In tasks    ‘ iterate through the tasks hereNext

Related PostsSynchronize Outlook Tasks with Remember the MilkOutlook 2007 is by far the best integrated solution for organizing […]

Close
E-mail It