<?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: Question regarding XDocument.SaveAs process.</title><link>https://www.infopathdev.com:443/forums/thread/60897.aspx</link><pubDate>Fri, 29 Oct 2010 17:49:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60897</guid><dc:creator>zacharybrown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60897.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=60897</wfw:commentRss><description>Potemkine, nevermind my last response, that was for the other forum, I got them mixed up, my mistake.</description></item><item><title>Re: Question regarding XDocument.SaveAs process.</title><link>https://www.infopathdev.com:443/forums/thread/60894.aspx</link><pubDate>Fri, 29 Oct 2010 17:41:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60894</guid><dc:creator>zacharybrown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60894.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=60894</wfw:commentRss><description>Potemkine, actually, that part is still okay, I misspoke, the portion the server isn&amp;#39;t accepting is the actual element.  In other words Acme Buyer Co isn&amp;#39;t being recognized.  Thanks!</description></item><item><title>Re: Question regarding XDocument.SaveAs process.</title><link>https://www.infopathdev.com:443/forums/thread/60892.aspx</link><pubDate>Fri, 29 Oct 2010 17:33:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60892</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=60892</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s a little weird, can you test to save somewhere else after your save it , just to see if your xml was up to date.&lt;/p&gt;
&lt;p&gt;after&amp;nbsp;&lt;/p&gt;
&lt;p&gt;XDocument.SaveAs(txtPath &amp;amp; sfileCode &amp;amp; txtTimestamp &amp;amp; txtName &amp;amp; txtext) &lt;/p&gt;
&lt;p&gt;add:&lt;/p&gt;
&lt;p&gt;XDocument.SaveAs(&amp;quot;ANOTHERPATH&amp;quot; &amp;amp; txtName &amp;amp; txtext) &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Question regarding XDocument.SaveAs process.</title><link>https://www.infopathdev.com:443/forums/thread/60726.aspx</link><pubDate>Tue, 26 Oct 2010 19:34:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60726</guid><dc:creator>zacharybrown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60726.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=60726</wfw:commentRss><description>&lt;p&gt;Hi Potemkine, that was my line of thought as well however, with every test I&amp;#39;ve run, the order&amp;nbsp;does not clear the ftp site until I&amp;#39;ve closed the form.&lt;/p&gt;</description></item><item><title>Re: Question regarding XDocument.SaveAs process.</title><link>https://www.infopathdev.com:443/forums/thread/60724.aspx</link><pubDate>Tue, 26 Oct 2010 17:50:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60724</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60724.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=60724</wfw:commentRss><description>&lt;p&gt;Hi, your form is save before your message is displayed&amp;nbsp;so if your end user select yes or no, it doesn&amp;#39;t matter.&lt;/p&gt;</description></item><item><title>Question regarding XDocument.SaveAs process.</title><link>https://www.infopathdev.com:443/forums/thread/60723.aspx</link><pubDate>Tue, 26 Oct 2010 17:42:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60723</guid><dc:creator>zacharybrown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60723.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=60723</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m currently running IP 2003 and using VBS Script.&amp;nbsp; I&amp;nbsp;have the following VBS code in my form activated OnClick.&amp;nbsp; It works well, but&amp;nbsp;if the end-user selects &amp;quot;Yes&amp;quot; (as shown in code below - which is&amp;nbsp;necessary)&amp;nbsp;my server won&amp;#39;t process the xml file until the current user closes the form.&amp;nbsp; Is there a way to modify this code&amp;nbsp;to allow the form to be pushed thru without having to close the file?&amp;nbsp; Thanks in advance.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dim txtPath &lt;br /&gt;Dim txtName &lt;br /&gt;Dim sfileCode &lt;br /&gt;Dim txtTimestamp &lt;br /&gt;Dim txtext &lt;br /&gt;&lt;br /&gt;Dim myvar txtPath = myserverunc&lt;br /&gt;sfileCode = XDocument.DOM.selectSingleNode(&amp;quot;SMSBroker/Order/File/EscrowOfficer_EmplSysId&amp;quot;).text &lt;br /&gt;txtTimestamp = Hour(Now)&amp;amp;Minute(Now)&amp;amp;Second(Now) &lt;br /&gt;txtName = &amp;quot;NewOrder&amp;quot; &lt;br /&gt;txtext = &amp;quot;.xml&amp;quot; &lt;br /&gt;&lt;br /&gt;XDocument.SaveAs(txtPath &amp;amp; sfileCode &amp;amp; txtTimestamp &amp;amp; txtName &amp;amp; txtext) &lt;br /&gt;&lt;br /&gt;myvar = MsgBox (&amp;quot;Your order has been submitted! To enter another order using the same information click Yes, to close the form No. NOTE: If you need to make changes, please contact the CTC Order Entry Dept at neworders@ctitle.com.&amp;quot;, vbYesNo + vbInformation + vbDefaultButton2, &amp;quot;Submit Order&amp;quot;) &lt;br /&gt;If myvar = vbYes &lt;br /&gt;Then &lt;br /&gt;&lt;br /&gt;Else &lt;br /&gt;XDocument.View.Window.Close(true) &lt;br /&gt;End If &lt;br /&gt;End Sub&lt;/p&gt;</description></item></channel></rss>