<?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: Setting default name when save a file</title><link>https://www.infopathdev.com:443/forums/thread/41925.aspx</link><pubDate>Thu, 21 May 2009 16:31:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41925</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41925.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=41925</wfw:commentRss><description>&lt;p&gt;Ah, this is a browser compatible form, eh? I&amp;#39;m not sure how to do this in a browser form....&lt;/p&gt;</description></item><item><title>Re: Setting default name when save a file</title><link>https://www.infopathdev.com:443/forums/thread/41924.aspx</link><pubDate>Thu, 21 May 2009 16:22:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41924</guid><dc:creator>thiagoarantes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41924.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=41924</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been trying in &lt;font size="2"&gt;FormEvents_Loading event.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Should it be in a different place?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;thanks&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Setting default name when save a file</title><link>https://www.infopathdev.com:443/forums/thread/41922.aspx</link><pubDate>Thu, 21 May 2009 16:08:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41922</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41922.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=41922</wfw:commentRss><description>&lt;p&gt;What event did you add the line to? In other words, when do you want the form to have the filename set?&lt;/p&gt;</description></item><item><title>Re: Setting default name when save a file</title><link>https://www.infopathdev.com:443/forums/thread/41919.aspx</link><pubDate>Thu, 21 May 2009 15:50:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41919</guid><dc:creator>thiagoarantes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=41919</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;For C#, &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.xmlform.setsaveasdialogfilename(VS.80).aspx"&gt;this.SetSaveAsDialogFileName(&amp;quot;nameHere&amp;quot;); &lt;/a&gt;and &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.xmlform.setsaveasdialoglocation(VS.80).aspx"&gt;this.SetSaveAsDialogLocation(&amp;quot;locationHere);&lt;/a&gt;&lt;br /&gt;For VB, you can use Me for this and get rid of the semi-colons....&lt;br /&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt; 
&lt;p&gt;Hi Hilary,&lt;/p&gt;
&lt;p&gt;I tried this code and got this error:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Error&amp;nbsp;1&amp;nbsp;&amp;#39;FormCode&amp;#39;&amp;nbsp;does not have a definition for&amp;nbsp;&amp;#39;SetSaveAsDialogFileName&amp;#39;&amp;nbsp;...FormCode.cs&amp;nbsp;35&amp;nbsp;18&lt;br /&gt;&lt;br /&gt;Do you have any clue about what can be happening to my code?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Setting default name when save a file</title><link>https://www.infopathdev.com:443/forums/thread/41916.aspx</link><pubDate>Thu, 21 May 2009 15:35:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41916</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41916.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=41916</wfw:commentRss><description>&lt;p&gt;For C#, &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.xmlform.setsaveasdialogfilename(VS.80).aspx"&gt;this.SetSaveAsDialogFileName(&amp;quot;nameHere&amp;quot;); &lt;/a&gt;and &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.xmlform.setsaveasdialoglocation(VS.80).aspx"&gt;this.SetSaveAsDialogLocation(&amp;quot;locationHere);&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For VB, you can use Me for this and get rid of the semi-colons....&lt;/p&gt;</description></item><item><title>Re: Setting default name when save a file</title><link>https://www.infopathdev.com:443/forums/thread/41913.aspx</link><pubDate>Thu, 21 May 2009 13:42:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41913</guid><dc:creator>thiagoarantes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41913.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=41913</wfw:commentRss><description>&lt;p&gt;Does someone know how can I implement this code using Infopath 2007?&lt;/p&gt;
&lt;p&gt;My namespace Microsoft.Office.Infopath doesn&amp;#39;t have this method.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Setting default name when save a file</title><link>https://www.infopathdev.com:443/forums/thread/22692.aspx</link><pubDate>Tue, 28 Aug 2007 11:51:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22692</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22692.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=22692</wfw:commentRss><description>&lt;font size="2"&gt;
&lt;p&gt;You need to substitute with the&amp;nbsp;correct filename in the below&amp;nbsp;line of code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thisXDocument.UI.SetSaveAsDialogLocation(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;filename&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Setting default name when save a file</title><link>https://www.infopathdev.com:443/forums/thread/22675.aspx</link><pubDate>Tue, 28 Aug 2007 03:35:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22675</guid><dc:creator>thtsps</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22675.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=22675</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m a new beginner of infopath 2003 for build a form and publish to sharepoint and i have a bit problem that&amp;nbsp; i need to set a name&amp;nbsp;when i click save i see a default form is &amp;quot;Form1&amp;quot; every form . How can i setting this to other name&amp;nbsp;i&amp;nbsp;need to&amp;nbsp;set by myself. Anyone to know about this ? Thank in advance. &lt;/p&gt;</description></item></channel></rss>