<?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: Saving form to disc from code</title><link>https://www.infopathdev.com:443/forums/thread/14368.aspx</link><pubDate>Tue, 07 Mar 2006 16:03:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14368</guid><dc:creator>mar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14368.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14368</wfw:commentRss><description>I had a problem with XmlDocument = XDocument. But i have done it like this:&lt;br /&gt;XmlDocument o=new XmlDocument();&lt;br /&gt;o.LoadXml(thisXDocument.DOM.xml);&lt;br /&gt;o.Save(@"c:\xml\testXML.xml");</description></item><item><title>Re: Saving form to disc from code</title><link>https://www.infopathdev.com:443/forums/thread/14367.aspx</link><pubDate>Tue, 07 Mar 2006 14:58:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14367</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14367.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14367</wfw:commentRss><description>You should be able to use the SaveAs() function inside a custom submit procedure, but saving to the local hard drive will require full trust.</description></item><item><title>Saving form to disc from code</title><link>https://www.infopathdev.com:443/forums/thread/12805.aspx</link><pubDate>Tue, 07 Mar 2006 13:21:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12805</guid><dc:creator>mar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12805</wfw:commentRss><description>1)Someone makes a new infopath file and puts it into sharepoint.&lt;br /&gt;2)Now, i need to open it, change something and click a button, which will send this version to sharepoint AND will save it to harddrive.&lt;br /&gt;I'm wondering how to save a file from inside this file?&lt;br /&gt;</description></item></channel></rss>