<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Help with code for creating a calendar task</title><link>https://www.infopathdev.com:443/forums/thread/62418.aspx</link><pubDate>Mon, 20 Dec 2010 02:52:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62418</guid><dc:creator>pluttod</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62418.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=62418</wfw:commentRss><description>&lt;p&gt;I found the answer i was looking for &lt;/p&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;
&lt;p&gt;&amp;quot;/dfs:myFields/dfs:dataFields/d:Table1/@Activity&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Help with code for creating a calendar task</title><link>https://www.infopathdev.com:443/forums/thread/62329.aspx</link><pubDate>Wed, 15 Dec 2010 15:56:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62329</guid><dc:creator>pluttod</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62329.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=62329</wfw:commentRss><description>&lt;p&gt;I have a form with a database as the data source, and when I debug the code i get the following error: &lt;/p&gt;
&lt;p&gt;&lt;font face="Calibri" size="3"&gt;NullReferenceException was unhandled by user code&amp;nbsp;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;associated with this line of code&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;taskItem.Subject = root.SelectSingleNode(&lt;span style="COLOR:maroon;"&gt;&amp;quot;my:myFields/my:dataFields/d:Table1/my:Activity&amp;quot;&lt;/span&gt;, NamespaceManager).Value;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp;the form is refernced to Microsoft Outlook 12.0 Object Library&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>