<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Emad Ibrahim - Latest Comments in Get Tasks in Outlook 2007 with VB.NET</title><link>http://emadibrahim.disqus.com/</link><description></description><language>en</language><lastBuildDate>Fri, 27 Jun 2008 07:19:40 -0000</lastBuildDate><item><title>Re: Get Tasks in Outlook 2007 with VB.NET</title><link>http://www.emadibrahim.com/2008/01/06/get-tasks-in-outlook-2007-with-vbnet/#comment-1601665</link><description>Thanks a bunch.&lt;br&gt;&lt;br&gt;Yes, I have seen that your code did not create a task, I was commenting on your comment:&lt;br&gt;&lt;br&gt;"One more thing… if you want to create a new task, you do it like this:&lt;br&gt;&lt;br&gt;Dim MyApp As Outlook.Application = New Outlook.Application()&lt;br&gt;&lt;br&gt;Dim outlookTask As Outlook.TaskItem = MyApp.Application.CreateItem(Outlook.OlItemType.olTaskItem)"&lt;br&gt;&lt;br&gt;You have helped me a lot, thank you again!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">captain</dc:creator><pubDate>Fri, 27 Jun 2008 07:19:40 -0000</pubDate></item><item><title>Re: Get Tasks in Outlook 2007 with VB.NET</title><link>http://www.emadibrahim.com/2008/01/06/get-tasks-in-outlook-2007-with-vbnet/#comment-1601664</link><description>@captain: The code in my first comment doesn't create a task it retrieves all the tasks...  Here it is again:&lt;br&gt;&lt;br&gt;Dim ns As Outlook.NameSpace&lt;br&gt;ns = MyApp.Application.GetNamespace(”MAPI”)&lt;br&gt;outlookTasksAll = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderTasks).Items&lt;br&gt;&lt;br&gt;Again, you can download the source code from the link in my first comment and take a look at it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emad Ibrahim</dc:creator><pubDate>Thu, 26 Jun 2008 14:05:43 -0000</pubDate></item><item><title>Re: Get Tasks in Outlook 2007 with VB.NET</title><link>http://www.emadibrahim.com/2008/01/06/get-tasks-in-outlook-2007-with-vbnet/#comment-1601663</link><description>Thank you very much.&lt;br&gt;&lt;br&gt;No, I do not want to create a new task, I would like to grab the info for a better printout formatting.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">captain</dc:creator><pubDate>Thu, 26 Jun 2008 12:22:03 -0000</pubDate></item><item><title>Re: Get Tasks in Outlook 2007 with VB.NET</title><link>http://www.emadibrahim.com/2008/01/06/get-tasks-in-outlook-2007-with-vbnet/#comment-1601662</link><description>One more thing... if you want to create a new task, you do it like this:&lt;br&gt;&lt;br&gt;Dim MyApp As Outlook.Application = New Outlook.Application()&lt;br&gt;&lt;br&gt;Dim outlookTask As Outlook.TaskItem = MyApp.Application.CreateItem(Outlook.OlItemType.olTaskItem)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emad Ibrahim</dc:creator><pubDate>Wed, 25 Jun 2008 11:34:14 -0000</pubDate></item><item><title>Re: Get Tasks in Outlook 2007 with VB.NET</title><link>http://www.emadibrahim.com/2008/01/06/get-tasks-in-outlook-2007-with-vbnet/#comment-1601661</link><description>Outlook.OlTaskStatus.olTaskComplete _&lt;br&gt;                    ).ToList&lt;br&gt;&lt;br&gt;You can take a look at my open source project that syncs RTM with Outlook you might find what you are looking for in the source code.  There is more info at &lt;a href="http://www.emadibrahim.com/2008/04/14/synchronize-outlook-tasks-with-remember-the-milk/" rel="nofollow"&gt;http://www.emadibrahim.com/2008/04/14/synchroni...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emad Ibrahim</dc:creator><pubDate>Wed, 25 Jun 2008 11:32:10 -0000</pubDate></item><item><title>Re: Get Tasks in Outlook 2007 with VB.NET</title><link>http://www.emadibrahim.com/2008/01/06/get-tasks-in-outlook-2007-with-vbnet/#comment-1601660</link><description>For Each task In tasks&lt;br&gt;    ‘ iterate through the tasks here&lt;br&gt;Next&lt;br&gt;&lt;br&gt;...&lt;br&gt;ARGH!&lt;br&gt;&lt;br&gt;How do I actually get to the tasks then?&lt;br&gt;how do I acess the subject, for example?&lt;br&gt;&lt;br&gt;Anytime I try using an object like &lt;br&gt;dim task as outlook.taskitem I get a NULL reference exception.&lt;br&gt;If I use&lt;br&gt;dim task as new outlook.taskitem() I get a "can not be used in this context, as outlook.classitem is FRIEND"&lt;br&gt;&lt;br&gt;help, please?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">captain</dc:creator><pubDate>Mon, 23 Jun 2008 09:24:01 -0000</pubDate></item></channel></rss>