Browse by Tags

Filter Outlook Items by Date with LINQ to DASL
03 March 08 07:02 PM | PhillipHoff | 5 Comments   
I received an email over the weekend asking why the following LINQ to DASL query threw an exception: Outlook. Folder folder = (Outlook. Folder )Application.Session.GetDefaultFolder(Outlook. OlDefaultFolders .olFolderCalendar); var appointments = from Read More...
LINQ to DASL Walkthrough
25 February 08 06:44 PM | PhillipHoff | 0 Comments   
Now that the Office Interop API Extensions have been released , I thought I would post a complete walkthrough of a simple LINQ to DASL application. Let's start with my fictitious Outlook calendar: This calendar shows that I have four appointments today. Read More...
Parameterized Properties and the Office Interop API Extensions
21 February 08 06:16 PM | PhillipHoff | 0 Comments   
One of the disadvantages of C# compared with VB is its lack of support for parameterized properties. Instead, parameterized properties in C# are exposed as normal method calls prefixed with "get_" and "set_". This is particularly apparent when working Read More...
Banish Missing.Value with the Office Interop API Extensions
15 February 08 05:06 PM | PhillipHoff | 1 Comments   
I like VSTO. I like C#. What I don't like is having to write VSTO code in C# like: object fileName = "Test.docx" ; object missing = System.Reflection. Missing .Value; doc.SaveAs( ref fileName, ref missing, ref missing, ref missing, ref missing, ref missing, Read More...
Page view tracker