<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" 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><atom:link href="https://emadibrahim.disqus.com/get_tasks_in_outlook_2007_with_vbnet/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 27 Jun 2008 03: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>&lt;p&gt;Thanks a bunch.&lt;/p&gt;&lt;p&gt;Yes, I have seen that your code did not create a task, I was commenting on your comment:&lt;/p&gt;&lt;p&gt;"One more thing… if you want to create a new task, you do it like this:&lt;/p&gt;&lt;p&gt;Dim MyApp As Outlook.Application = New Outlook.Application()&lt;/p&gt;&lt;p&gt;Dim outlookTask As Outlook.TaskItem = MyApp.Application.CreateItem(Outlook.OlItemType.olTaskItem)"&lt;/p&gt;&lt;p&gt;You have helped me a lot, thank you again!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">captain</dc:creator><pubDate>Fri, 27 Jun 2008 03: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>&lt;p&gt;@captain: The code in my first comment doesn't create a task it retrieves all the tasks...  Here it is again:&lt;/p&gt;&lt;p&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;/p&gt;&lt;p&gt;Again, you can download the source code from the link in my first comment and take a look at it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emad Ibrahim</dc:creator><pubDate>Thu, 26 Jun 2008 10: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>&lt;p&gt;Thank you very much.&lt;/p&gt;&lt;p&gt;No, I do not want to create a new task, I would like to grab the info for a better printout formatting.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">captain</dc:creator><pubDate>Thu, 26 Jun 2008 08: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>&lt;p&gt;One more thing... if you want to create a new task, you do it like this:&lt;/p&gt;&lt;p&gt;Dim MyApp As Outlook.Application = New Outlook.Application()&lt;/p&gt;&lt;p&gt;Dim outlookTask As Outlook.TaskItem = MyApp.Application.CreateItem(Outlook.OlItemType.olTaskItem)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emad Ibrahim</dc:creator><pubDate>Wed, 25 Jun 2008 07: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>&lt;p&gt;Outlook.OlTaskStatus.olTaskComplete _&lt;br&gt;                    ).ToList&lt;/p&gt;&lt;p&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 noopener" target="_blank" title="http://www.emadibrahim.com/2008/04/14/synchronize-outlook-tasks-with-remember-the-milk/"&gt;http://www.emadibrahim.com/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emad Ibrahim</dc:creator><pubDate>Wed, 25 Jun 2008 07: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>&lt;p&gt;For Each task In tasks&lt;br&gt;    ‘ iterate through the tasks here&lt;br&gt;Next&lt;/p&gt;&lt;p&gt;...&lt;br&gt;ARGH!&lt;/p&gt;&lt;p&gt;How do I actually get to the tasks then?&lt;br&gt;how do I acess the subject, for example?&lt;/p&gt;&lt;p&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;/p&gt;&lt;p&gt;help, please?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">captain</dc:creator><pubDate>Mon, 23 Jun 2008 05:24:01 -0000</pubDate></item></channel></rss>