<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: When is the XDocument initialized?</title><link>https://www.infopathdev.com:443/forums/thread/36834.aspx</link><pubDate>Fri, 09 Jan 2009 06:54:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36834</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36834.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=36834</wfw:commentRss><description>&lt;p&gt;Thanks for posting this link&amp;nbsp;to help others! &lt;/p&gt;</description></item><item><title>Re: When is the XDocument initialized?</title><link>https://www.infopathdev.com:443/forums/thread/36817.aspx</link><pubDate>Thu, 08 Jan 2009 23:10:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36817</guid><dc:creator>hsiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36817.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=36817</wfw:commentRss><description>&lt;p&gt;Thanks for the replies!&amp;nbsp;After a little research I found that in the Infopath 2007 object model the &lt;strong&gt;XDocument&lt;/strong&gt; class was renamed to the &lt;strong&gt;XmlForm&lt;/strong&gt; class. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb643160.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb643160.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I will have to access Me.Application.XmlForm.Item(0) to get a reference to XDocument (in 2003 version)&lt;/p&gt;</description></item><item><title>Re: When is the XDocument initialized?</title><link>https://www.infopathdev.com:443/forums/thread/36361.aspx</link><pubDate>Tue, 30 Dec 2008 08:51:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36361</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36361.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=36361</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In IP 2007 we use XPathNavigator to access the nodes.&lt;/p&gt;
&lt;p&gt;In IP 2007, there is a method called InternalStartup(). In this method, write the following code.&lt;/p&gt;
&lt;p&gt;XPathNavigator XDocument = this.MainDataSource.CreateNavigator();&lt;/p&gt;</description></item><item><title>Re: When is the XDocument initialized?</title><link>https://www.infopathdev.com:443/forums/thread/36357.aspx</link><pubDate>Tue, 30 Dec 2008 07:58:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36357</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=36357</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Go through the below link to get more information on Xdocument,&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb229879.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb229879.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: When is the XDocument initialized?</title><link>https://www.infopathdev.com:443/forums/thread/36170.aspx</link><pubDate>Tue, 23 Dec 2008 04:59:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36170</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36170.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=36170</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;quot;Microsoft.Office.Interop.InfoPath&amp;quot;&amp;nbsp;is a infopath2003 assembly. and &amp;quot;Microsoft.Office.InfoPath&amp;quot; is a infopath2007 assembly.&lt;/p&gt;
&lt;p&gt;If you want to work with infopath2003 assembly, &lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;add “&lt;strong&gt;microsoft.office.interop.infopath.semitrust.dll&lt;/strong&gt;” assembly to your references. &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;This assembly file is located in “&lt;span style="COLOR:black;"&gt;&lt;strong&gt;C:\Program Files\Microsoft Office\Office12&lt;/strong&gt;” folder.&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;&amp;nbsp;&lt;/span&gt; &lt;/p&gt;</description></item><item><title>When is the XDocument initialized?</title><link>https://www.infopathdev.com:443/forums/thread/36166.aspx</link><pubDate>Mon, 22 Dec 2008 23:30:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36166</guid><dc:creator>hsiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36166.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=36166</wfw:commentRss><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;I am working on an upgrade project from Infopath 2003 to 2007. In IP 2003 code there is a method called _startup which seems to be initializing XDocument and Application. But no such method is found in the IP 2007 converted project. My code accesses these objects and I get a null exception because XDocument is null. I was wondering if we have to specifically initialize Application (or Xdocument) to access it later?&lt;/p&gt;
&lt;p&gt;Also, it looks like there are two application classes , one in Microsoft.Office.Interop.InfoPath and one in Microsoft.Office.InfoPath. WHats the difference between those?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>