<?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: Code problem on published form code.</title><link>https://www.infopathdev.com:443/forums/thread/50178.aspx</link><pubDate>Sat, 26 Dec 2009 17:09:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50178</guid><dc:creator>muratalpar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50178.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=50178</wfw:commentRss><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for reply, and yes I solve my problem with the Versioning tab of Form Option. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks again.&lt;/p&gt;</description></item><item><title>Re: Code problem on published form code.</title><link>https://www.infopathdev.com:443/forums/thread/50176.aspx</link><pubDate>Sat, 26 Dec 2009 00:18:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50176</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50176.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=50176</wfw:commentRss><description>&lt;p&gt;InfoPath has a built-in feature to upgrade previous versions of forms and add missing fields when the form is opened (on the Versioning tab of Form Options).&amp;nbsp; Have you tried that?&lt;/p&gt;</description></item><item><title>Re: Code problem on published form code.</title><link>https://www.infopathdev.com:443/forums/thread/50175.aspx</link><pubDate>Fri, 25 Dec 2009 20:07:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50175</guid><dc:creator>muratalpar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50175.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=50175</wfw:commentRss><description>&lt;p&gt;I think I figurout what is going on... &lt;/p&gt;
&lt;p&gt;I added some fields and try to update it with the code but old form&amp;#39;s xml doesn&amp;#39;t contain this fields, so when I try to setVaule infopath generate error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Now I have to find out how can I add these fields to old forms....&lt;/p&gt;</description></item><item><title>Re: Code problem on published form code.</title><link>https://www.infopathdev.com:443/forums/thread/50174.aspx</link><pubDate>Fri, 25 Dec 2009 19:02:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50174</guid><dc:creator>muratalpar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50174.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=50174</wfw:commentRss><description>&lt;p&gt;I realized that, this problem occured on&amp;nbsp;the filled forms, but new forms has no problem. I hope it&amp;#39;s helped....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks.&lt;/p&gt;</description></item><item><title>Code problem on published form code.</title><link>https://www.infopathdev.com:443/forums/thread/50173.aspx</link><pubDate>Fri, 25 Dec 2009 18:12:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50173</guid><dc:creator>muratalpar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=50173</wfw:commentRss><description>&lt;p&gt;Hi Everyone,&lt;/p&gt;
&lt;p&gt;This is my first post and I am new in infopath development.&amp;nbsp;I don&amp;#39;t like to ask a question &lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;immediately &lt;/span&gt;when I joint but I am really &lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;hopeless&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Anyway, I have a&amp;nbsp;problem about code in published form. Code below working properly on the designer at local machine;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;em&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;test &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; XPathNavigator = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Me&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.MainDataSource.CreateNavigator().SelectSingleNode( &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/my:MusteriGorusme/my:MBKTakipEdenler&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;font size="2"&gt;&lt;em&gt;, NamespaceManager)&lt;/em&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;em&gt;test.SetValue(&lt;/em&gt;&lt;/font&gt;&lt;em&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Test&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;But, after&amp;nbsp;published&amp;nbsp;form when I try to run it &lt;strong&gt;&amp;quot;&lt;/strong&gt;&lt;/font&gt;&lt;strong&gt;Object reference not set to an instance of an object&amp;quot;&lt;/strong&gt; error has occured.&lt;/p&gt;
&lt;p&gt;I read to many post and article&amp;nbsp;but I couldn&amp;#39;t&amp;nbsp;find the reason of this error.&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;in advance.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>