<?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: SaveAs method</title><link>https://www.infopathdev.com:443/forums/thread/14275.aspx</link><pubDate>Fri, 03 Feb 2006 13:35:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14275</guid><dc:creator>plsames</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14275.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14275</wfw:commentRss><description>Thanks for the reply.  I have tried that code, and that's when I get the message that the form doesn't have a file name.  The form is fully trusted and deployed using vs msi.&lt;br /&gt;&lt;br /&gt;Patti</description></item><item><title>Re: SaveAs method</title><link>https://www.infopathdev.com:443/forums/thread/14274.aspx</link><pubDate>Fri, 03 Feb 2006 03:47:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14274</guid><dc:creator>erwin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14274.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14274</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;XDocument.SaveAs("c:\\\form1.xml");&lt;br /&gt;&lt;br /&gt;SaveAs only work if it Trusted form, so you should make form as a trusted form.&lt;br /&gt;&lt;br /&gt;erwin.</description></item><item><title>SaveAs method</title><link>https://www.infopathdev.com:443/forums/thread/12764.aspx</link><pubDate>Fri, 03 Feb 2006 00:31:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12764</guid><dc:creator>plsames</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12764.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12764</wfw:commentRss><description>I am new to the forum, so would appreciate any help I can get.  I am trying to call the SaveAs method in the onSubmitRequest function in jscript.  I am passing it a field value and path as the file path/name.  I keep getting the error saying that the file has no name.  I can display the file path/name in the Xdocument, but I doesn't seem to work in the SaveAs method.  I want to be able to save the form on a local drive using a specific filename.&lt;br /&gt;&lt;br /&gt;Any ideas?</description></item></channel></rss>