<?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: 2003 v. 2007 Namespace code problem</title><link>https://www.infopathdev.com:443/forums/thread/53451.aspx</link><pubDate>Wed, 07 Apr 2010 22:39:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53451</guid><dc:creator>free2work</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53451.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53451</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;
&lt;p&gt;Thanks for responding.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My form was actually&amp;nbsp;produced in IP 2003.&amp;nbsp; Is there something I can change in the NameSpace to get it to work in 2007?&amp;nbsp; Or can I build the form in 2007 and have it be backwards compatible?&amp;nbsp; If I did that, i would still have to change the Namespace, correct?&lt;/p&gt;
&lt;p&gt;Anthony&lt;/p&gt;</description></item><item><title>Re: 2003 v. 2007 Namespace code problem</title><link>https://www.infopathdev.com:443/forums/thread/53448.aspx</link><pubDate>Wed, 07 Apr 2010 22:24:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53448</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53448.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53448</wfw:commentRss><description>&lt;p&gt;Hi, so your form is IP 2007, but is using the IP 2003 object model? The &amp;#39;2003&amp;#39; in the namespaces wouldn&amp;#39;t cause an issue unless the namespaces are incorrect for some reason...&lt;/p&gt;</description></item><item><title>2003 v. 2007 Namespace code problem</title><link>https://www.infopathdev.com:443/forums/thread/53362.aspx</link><pubDate>Mon, 05 Apr 2010 19:25:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53362</guid><dc:creator>free2work</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53362.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53362</wfw:commentRss><description>&lt;p&gt;Hi Everyone,&lt;/p&gt;
&lt;p&gt;I have the following code attached to my form and unfortunately it doesn’t work with Outlook 2007.&amp;nbsp; I’m assuming this has something to do with the Namespace (2003 is listed) but I’m not sure what to change it to to get it to work.&amp;nbsp; Can anyone help?&lt;/p&gt;
&lt;p&gt;-------------------&lt;br /&gt;XDocument.DOM.setProperty(&amp;quot;SelectionNamespaces&amp;quot;,&amp;#39;xmlns:xsi=&amp;quot;&lt;a href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot; xmlns:dfs=&amp;quot;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"&gt;http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&lt;/a&gt;&amp;quot; xmlns:q=&amp;quot;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/ado/queryFields"&gt;http://schemas.microsoft.com/office/infopath/2003/ado/queryFields&lt;/a&gt;&amp;quot; xmlns:d=&amp;quot;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields%22&amp;#39;"&gt;http://schemas.microsoft.com/office/infopath/2003/ado/dataFields&amp;quot;&amp;#39;&lt;/a&gt;);&lt;/p&gt;
&lt;p&gt;function CTRL76_7::OnClick(eventObj)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;var grabSubject;&lt;br /&gt;&amp;nbsp;&amp;nbsp;grabSubject = XDocument.DOM.selectSingleNode(&amp;quot;dfs:myFields/dfs:dataFields/d:PortfolioData_Query/@Name1&amp;quot;).text;&lt;br /&gt;&amp;nbsp;&amp;nbsp;var oEnvelope = Application.ActiveWindow.MailEnvelope;&lt;br /&gt;&amp;nbsp;&amp;nbsp;oEnvelope.To = &amp;quot;&lt;a href="mailto:freestoneequitytradingFET@freestonecapital.com"&gt;freestoneequitytradingFET@freestonecapital.com&lt;/a&gt;&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;oEnvelope.Subject = grabSubject+&amp;quot; T R A D E&amp;nbsp; T I C K E T&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;oEnvelope.Visible = true;&lt;br /&gt;}&lt;br /&gt;-------------------&lt;/p&gt;
&lt;p&gt;Thanks in advance for any help provided!&lt;/p&gt;
&lt;p&gt;Anthony&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>