Entries Categorized as 'vb.net'

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 […]

Fame, Fortune and WCF

Date December 28, 2007

I need your help to bring me fame and fortune.
I wrote an article at code project which was entered for a competition.  The winner gets $10k.  Can you please check it out at http://www.codeproject.com/KB/WCF/myfeedreader.aspx and if you like it, please vote for it.  I can’t win if you don’t vote.  Voting will be closed on […]

VB9 - LINQ and Extension Methods in Action

Date November 30, 2007

Here is the scenario, I have collection of books and I want to get a book with a specific ISBN.  In the old ways, you will probably have to create a custom collection and inherit a generic collection of books, then add a method to get by ISBN.
Thanks to LINQ and extension methods, you can […]

Calling the WordPress XMLRPC API from VB.net

Date July 31, 2007

As an example, I will call the getCategories API method.
Add a reference to the XML-RPC.net library.
Create a struct for the return result

Public Structure category
Public categoryId As Object
Public parentId As Object
Public description As Object
Public categoryName As Object
[…]

Close
E-mail It