<?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: Gathering infopath 2007 template file name in c#</title><link>https://www.infopathdev.com:443/forums/thread/37785.aspx</link><pubDate>Wed, 28 Jan 2009 14:49:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37785</guid><dc:creator>cubanjlm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37785.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37785</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;
It works perfectly!!! Just as you said. thank you very, very much.</description></item><item><title>Re: Gathering infopath 2007 template file name in c#</title><link>https://www.infopathdev.com:443/forums/thread/37725.aspx</link><pubDate>Tue, 27 Jan 2009 16:01:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37725</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37725.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37725</wfw:commentRss><description>&lt;p&gt;In preview, yes, you&amp;#39;ll see the path to the manifest.xsf. Save your form and open it, like a user would to fill it out.... and you should get the full path to the xsn.&lt;/p&gt;</description></item><item><title>Re: Gathering infopath 2007 template file name in c#</title><link>https://www.infopathdev.com:443/forums/thread/37679.aspx</link><pubDate>Mon, 26 Jan 2009 21:43:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37679</guid><dc:creator>cubanjlm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37679.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37679</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I tried it, and also tried this.Uri, but till does&amp;#39;nt work. the first (the one you said) dieplays the manifest.xsf location and the &amp;quot;this.Uri&amp;quot; shows the name or caption or the template&amp;#39;s instance that is currently running ((Preview)Template&amp;#39;s Name... Form1... Form n) not the .xsn file name or location, and that&amp;#39;s what i really need. If i saved a Template1.xsn file in D, i need some way to gather an string that contains &amp;quot;Template1.xsn&amp;quot; or at least &amp;quot;D:\Template1.xsn&amp;quot; (like the &amp;#39;state bar&amp;#39; shows).&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Gathering infopath 2007 template file name in c#</title><link>https://www.infopathdev.com:443/forums/thread/37667.aspx</link><pubDate>Mon, 26 Jan 2009 16:20:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37667</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37667.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37667</wfw:commentRss><description>&lt;p&gt;Sorry, I misunderstood. Try &lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Template.Uri&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Gathering infopath 2007 template file name in c#</title><link>https://www.infopathdev.com:443/forums/thread/37602.aspx</link><pubDate>Fri, 23 Jan 2009 16:54:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37602</guid><dc:creator>cubanjlm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37602.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37602</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;i&amp;#39;m using IP 2007. i mean the bar that is at the bottom of the IP window. it displays the securyty level icon and the location and file name of the template. i dont want to use the Caption cause it could be changed by code, but the file name of the template is set when the designer saves the template. I was looking for something like this.Application.FileName or this.Application.Lotation but i could&amp;#39;nt find anything.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Gathering infopath 2007 template file name in c#</title><link>https://www.infopathdev.com:443/forums/thread/37563.aspx</link><pubDate>Thu, 22 Jan 2009 22:47:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37563</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37563.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37563</wfw:commentRss><description>&lt;p&gt;Are you using InfoPath 2003 or 2007? I set the InfoPath application caption bar in IP 2003 with this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;thisApplication.ActiveWindow.Caption = &amp;quot;What I want the caption to be&amp;quot;;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;So, I&amp;#39;d guess that you&amp;#39;d be able to get with it something like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;thisApplication.ActiveWindow.Caption.ToString();&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Is the caption at the top of the window what you mean by the &amp;#39;state bar&amp;#39;?&lt;/p&gt;</description></item><item><title>Gathering infopath 2007 template file name in c#</title><link>https://www.infopathdev.com:443/forums/thread/37559.aspx</link><pubDate>Thu, 22 Jan 2009 21:08:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37559</guid><dc:creator>cubanjlm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37559.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37559</wfw:commentRss><description>&lt;p&gt;
Hello.

&lt;/p&gt;&lt;p&gt;I&amp;#39;m new writing code into an infopath template. I&amp;#39;ve created a template and I&amp;#39;ve modified the submit event and i want (at some point in the code) to ask for the file name of my template, i have no idea about how can i do it, but i can see just what i need in the state bar of infopath wen i execute my templete. if anyone please could help me i would be grateful.

&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;</description></item></channel></rss>