<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Custom Save Button?</title><link>https://www.infopathdev.com:443/forums/thread/97257.aspx</link><pubDate>Thu, 01 May 2014 18:25:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97257</guid><dc:creator>infoben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97257.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=97257</wfw:commentRss><description>Hey everyone --

I designed a purchase requisition form for my company that has been working out really great; however, management wants one more piece of functionality to the form.  They essentially want a save form button that they can click which will automatically open a &amp;quot;save as&amp;quot; window whenever they want to save the form.  Not only that, but they want the default folder that pops up in the &amp;quot;save as&amp;quot; box to be a networked drive (E.g. \\servername\dept shares\approved PRs).  I know that this is basically circumventing a few extra clicks with the baked in MS Office save functionality, but it&amp;#39;s what they want in order to &amp;quot;reduce human error&amp;quot;.  *sigh*

I looked up some ways to program the button using C#, but I seem to be missing something.  For example, just to see if I can even get a save function to work at all on the button, I tried using the recommended &amp;quot;this.save();&amp;quot; but it returns the error &amp;quot;...does not contain a definition for &amp;#39;save&amp;#39;&amp;quot;.  I figured I&amp;#39;m not calling the correct reference.  I dunno...I&amp;#39;m stuck!  Anyone out there that can shed some light on this?</description></item></channel></rss>