<?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: _XDocument3 ?</title><link>https://www.infopathdev.com:443/forums/thread/35792.aspx</link><pubDate>Tue, 16 Dec 2008 08:40:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35792</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35792.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=35792</wfw:commentRss><description>&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;Hi Patrick and Jimmy, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;Happy to see you again Patrick&amp;nbsp;, too.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;&amp;nbsp;Patrick: Yes you can normally use this object in 2003 it&amp;#39;s decribe on the link to the blog of Infopath. I think you are maybe a little bit tired but I dont think you use drugs ;-) YES&amp;nbsp;I would like to convert my project to 2007 OM! But I didn&amp;#39;t know how to make my button in my custom toolbar&amp;nbsp;for that fires&amp;nbsp;the related&amp;nbsp;events in my code (I have ask on them but no answer) &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;Jimmy: Like I say in my first message I have VS 2005 and I have also tried on VS 2008 both are with tools for office (I use Team system version). &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;What I don&amp;#39;t understand is that I have make this work on my forms that I have published in May. All&amp;nbsp;was working great with this _XDocument3 but now when I open this project I see that _XDocument3 are not know by visual Studio.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;&amp;nbsp;Here some picture for a better explanation&lt;/span&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;&lt;br /&gt;When I open this old&amp;nbsp;project _XDocument3 is ok&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;&lt;img src="http://zefix.powernet.ch/infopath/infopathdev/1.jpg" alt="" /&gt;&lt;br /&gt;If I try to see the reference that go to the right place:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;&lt;img style="WIDTH:679px;HEIGHT:235px;" height="235" src="http://zefix.powernet.ch/infopath/infopathdev/2.jpg" width="679" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;&lt;img src="http://zefix.powernet.ch/infopath/infopathdev/3.jpg" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;But If I try to compile this project Visual Studio didn&amp;#39;t find anymore _Xdocument3&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:12px Verdana;TEXT-TRANSFORM:none;TEXT-INDENT:0px;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0;"&gt;&lt;img src="http://zefix.powernet.ch/infopath/infopathdev/4.jpg" alt="" /&gt;&lt;/span&gt;&lt;br class="Apple-interchange-newline" /&gt;&lt;/p&gt;
&lt;p&gt;But _XDocument and _XDocument2 are always in the DOM why XDocument3 has disappear can you explain me?&lt;/p&gt;
&lt;p&gt;Thanks a lot&lt;/p&gt;
&lt;p&gt;Thierry&lt;/p&gt;</description></item><item><title>Re: _XDocument3 ?</title><link>https://www.infopathdev.com:443/forums/thread/35789.aspx</link><pubDate>Tue, 16 Dec 2008 07:15:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35789</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35789.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=35789</wfw:commentRss><description>&lt;p&gt;_XDocument3 is an IP2003 SP1 construct and this should work with the 2003 OM.&amp;nbsp; Are you trying to run this project from InfoPath or from Visual Studio?&amp;nbsp; If you&amp;#39;re running it from Visual Studio, do you have &lt;a class="" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=F5539A90-DC41-4792-8EF8-F4DE62FF1E81&amp;amp;displaylang=en"&gt;Visual Studio tools for Office&lt;/a&gt; installed?&lt;/p&gt;</description></item><item><title>Re: _XDocument3 ?</title><link>https://www.infopathdev.com:443/forums/thread/35784.aspx</link><pubDate>Tue, 16 Dec 2008 05:48:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35784</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=35784</wfw:commentRss><description>&lt;p&gt;Hi Thierry,&lt;/p&gt;
&lt;p&gt;Great to see you here again. Maybe I am on drugs, but it looks like you are trying to use InfoPath&amp;#39;s 2007 object model inside of InfoPath 2003 object model. You can&amp;#39;t do that!&amp;nbsp;Upgrade your form to InfoPath 2007 object model (OM), or&amp;nbsp;make do with InfoPath 2003 OM. &lt;/p&gt;
&lt;p&gt;You&amp;#39;re the best,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>_XDocument3 ?</title><link>https://www.infopathdev.com:443/forums/thread/35761.aspx</link><pubDate>Mon, 15 Dec 2008 10:52:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35761</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=35761</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Infopath 2007 (C#2.0 DOM 2003)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In the middle of the year I have found an interessting post about how to pass parameter in a form on Infopath MDSN blog:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/infopath/archive/2007/02/26/passing-data-into-a-form-input-parameters.aspx"&gt;http://blogs.msdn.com/infopath/archive/2007/02/26/passing-data-into-a-form-input-parameters.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;That was working great and that go always great with the published version&lt;/p&gt;
&lt;p&gt;But yesterday I open this project and compile it but I have the following error on _XDocument3:&lt;/p&gt;
&lt;p&gt;Error&amp;nbsp;1&amp;nbsp;The type or namespace name &amp;#39;_XDocument3&amp;#39; could not be found (are you missing a using directive or an assembly reference?)&amp;nbsp;D:\Project\InfopathForm\web\web\FormCode.cs&lt;/p&gt;
&lt;p&gt;The line :&lt;br /&gt;&lt;font size="2"&gt;_XDocument3 infopath2007XDocument = (_XDocument3)e.XDocument;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;I see that I didn&amp;#39;t found it any more in my Visual Studio 2005?&lt;/p&gt;
&lt;p&gt;But in MSDN that appear to be here :&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.interop.infopath._xdocument3(VS.80).aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.office.interop.infopath._xdocument3(VS.80).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have also try to convert this project in Visual studio 2008 and I have the same error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Have you any idea about what is it?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Thierry&lt;/p&gt;</description></item></channel></rss>