<?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: Use line feeds in text variable; set node value in VB.Net</title><link>https://www.infopathdev.com:443/forums/thread/47830.aspx</link><pubDate>Tue, 13 Oct 2009 00:23:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47830</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47830.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=47830</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Make sure that your text box is set to be &amp;quot;Multi-line&amp;quot; in its properties too.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Use line feeds in text variable; set node value in VB.Net</title><link>https://www.infopathdev.com:443/forums/thread/47827.aspx</link><pubDate>Mon, 12 Oct 2009 22:13:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47827</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47827.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=47827</wfw:commentRss><description>&lt;p&gt;Hi GMLear,&lt;/p&gt;
&lt;p&gt;... please use the text &amp;quot;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;\r\n&amp;quot; &lt;font color="#000000"&gt;as the &amp;#39;line feed&amp;#39; ... for example:&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;[navigator].SelectSingleNode(&amp;quot;[node]&amp;quot;, NamespaceManage).SetValue(string.Concat(&amp;quot;First line&amp;quot;,&lt;strong&gt;&amp;quot;\r\n&amp;quot;&lt;/strong&gt;,&amp;quot;Second line&amp;quot;,&lt;strong&gt;&amp;quot;\r\n&amp;quot;&lt;/strong&gt;,&amp;quot;Third line&amp;quot;)&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#000000"&gt;Hope that helps.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#000000"&gt;Regards,&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Use line feeds in text variable; set node value in VB.Net</title><link>https://www.infopathdev.com:443/forums/thread/47825.aspx</link><pubDate>Mon, 12 Oct 2009 20:48:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47825</guid><dc:creator>GMLear</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47825.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=47825</wfw:commentRss><description>&lt;p&gt;My task:&amp;nbsp; Programatically build a text variable that includes line feeds, then save it to a text node in my InfoPath form.&lt;/p&gt;&lt;p&gt;My problem:&amp;nbsp; When I use [navigator].SelectSingleNode(&amp;quot;[node]&amp;quot;, NamespaceManage).SetValue, the process strips the line feeds out of my variable.&amp;nbsp; The resulting node value is simply a single line of text which wraps in the InfoPath form field.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;ve done due diligence searching on my own.&amp;nbsp; I get the feeling I&amp;#39;m not phrasing my search correctly...&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for any help.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>