<?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: Problem Saving File</title><link>https://www.infopathdev.com:443/forums/thread/36087.aspx</link><pubDate>Fri, 19 Dec 2008 11:50:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36087</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36087</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you give more detail on what is your error message? Can you use try and catch block in your code then it will give the exception or error message in catch block.&lt;/p&gt;
&lt;p&gt;You can follow the steps in above link given by Madhuri.&lt;/p&gt;</description></item><item><title>Re: Problem Saving File</title><link>https://www.infopathdev.com:443/forums/thread/36070.aspx</link><pubDate>Fri, 19 Dec 2008 05:49:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36070</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36070.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36070</wfw:commentRss><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Look at this blog, it might be helpful&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/greg/archive/2006/03/08/Display-a-Save-As-Dialog-Box.aspx"&gt;http://www.infopathdev.com/blogs/greg/archive/2006/03/08/Display-a-Save-As-Dialog-Box.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Problem Saving File</title><link>https://www.infopathdev.com:443/forums/thread/36057.aspx</link><pubDate>Thu, 18 Dec 2008 16:42:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36057</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36057.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36057</wfw:commentRss><description>&lt;p&gt;I am trying to implement a customize Save so that I provide my users with the ability to save a Performance Review form to their own computer (Submitting sends the form to SharePoint and notifies their manager that the form is ready for review). I have the following function but it is not working (no file gets saved to the specified folder. Any ideas on what I am doing wrong? any ideas on how to specify the MyDocuments location of the user would also be appreciated.&lt;/p&gt;
&lt;p&gt;function SaveToCDrive::OnClick(eventObj) &lt;/p&gt;
&lt;p&gt;{ &lt;/p&gt;
&lt;p&gt;var myFileName = XDocument.DOM.selectSingleNode(&amp;quot;/my:PerformanceReview/my:EmployeeInfo/my:EmployeeNumber&amp;quot;).text + &amp;quot;.xml&amp;quot;; &lt;/p&gt;
&lt;p&gt;//debugger; &lt;/p&gt;
&lt;p&gt;XDocument.UI.SetSaveAsDialogLocation(&amp;quot;C:\\Temp&amp;quot;); &lt;/p&gt;
&lt;p&gt;XDocument.UI.SetSaveAsDialogFileName(myFileName);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;TIA &lt;/p&gt;
&lt;p&gt;Dean&lt;/p&gt;</description></item></channel></rss>