<?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>Re: Saving forms</title><link>https://www.infopathdev.com:443/forums/thread/8019.aspx</link><pubDate>Thu, 20 Oct 2005 07:05:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8019</guid><dc:creator>tatopitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8019.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8019</wfw:commentRss><description>I see that eventObj.FileName where eventObj is a Save Event can help me...</description></item><item><title>Re: Saving forms</title><link>https://www.infopathdev.com:443/forums/thread/8018.aspx</link><pubDate>Thu, 20 Oct 2005 06:50:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8018</guid><dc:creator>tatopitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8018.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8018</wfw:commentRss><description>Great! I didn't know XDocument.UI.SetSaveAsDialogLocation and, above all, XDocument.UI.SetSaveAsDialogFileName! They're useful!&lt;br /&gt;Thank u! I'm wondering if I cannot stop the saving procedure (eventObj.ReturnStatus = False ) if the path chosen by the user doesn't like me (for example if the user wants to save the form in the sharepoint site...); but how to know the path chosen by the user before the form is saved?&lt;br /&gt;</description></item><item><title>Re: Saving forms</title><link>https://www.infopathdev.com:443/forums/thread/8017.aspx</link><pubDate>Wed, 19 Oct 2005 15:27:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8017</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8017.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8017</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Yes you can.  In Tools / Form Options / Open and Save Tab, check the Save Using Custom Code.  This will create an OnSaveRequest event handler for you.&lt;br /&gt;In there you need to use the XDocument.UI.SetSaveAsDialogLocation to achieve what you are looking for.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>Saving forms</title><link>https://www.infopathdev.com:443/forums/thread/5020.aspx</link><pubDate>Wed, 19 Oct 2005 09:52:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5020</guid><dc:creator>tatopitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5020.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5020</wfw:commentRss><description>Hi guys, i need an advice of yours:)&lt;br /&gt;&lt;br /&gt;I'd like to make user save my form with a specified name. My idea is not to allow saving the form using the buttons from the menu, but to add a button and to implement the saving procedure by code. I don't think it's hard...but to ask the directory to the user i need to use an inputbox (since I MUST use VBScript) and this is not well appreciated by my colleagues...so: is there a simple way to asking the directory to the users (avoiding using further fields in the form)? do I have to change my "idea" to avoid saving from menu? Can I choose the name of the file using File--&amp;gt;Save?&lt;br /&gt;&lt;br /&gt;Let me know what do you think of it!&lt;br /&gt;</description></item></channel></rss>