<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: File Attachment Name</title><link>https://www.infopathdev.com:443/forums/thread/31748.aspx</link><pubDate>Wed, 27 Aug 2008 14:05:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31748</guid><dc:creator>feesh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31748.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31748</wfw:commentRss><description>&lt;p&gt;Hi Shiva&lt;/p&gt;
&lt;p&gt;Sorry if I was not clear in my first post but the picture file is not static. It is something the user uploads and will have a different name everytime. The issue is that keeping the name of the file correct is very important for our reference. Is there anyway to do the above but only when a user uploads it?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: File Attachment Name</title><link>https://www.infopathdev.com:443/forums/thread/31693.aspx</link><pubDate>Tue, 26 Aug 2008 06:04:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31693</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31693.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31693</wfw:commentRss><description>&lt;p&gt;Hello Feesh,&lt;/p&gt;
&lt;p&gt;Here are the steps you need to follow,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1. First add the image(hat_picture.jpg ) to the form using Tools -&amp;gt; Resource Files.&lt;/li&gt;
&lt;li&gt;2. Save the form and close it.&lt;/li&gt;
&lt;li&gt;3. Open the view1.xsl file in editor mode, search for ‘4CB851E9.jpg&amp;#39; replace with ‘hat_picture.jpg&amp;#39; and save the file and close it.&lt;/li&gt;
&lt;li&gt;4. Open the manifest.xsf file in editor mode, , search for ‘4CB851E9.jpg&amp;#39; and remove the below code from that file:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;lt;xsf:file name=&amp;quot;4CB851E9.jpg&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;lt;xsf:fileProperties&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsf:property name=&amp;quot;fileType&amp;quot; type=&amp;quot;string&amp;quot; value=&amp;quot;resource&amp;quot;&amp;gt;&amp;lt;/xsf:property&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;lt;/xsf:fileProperties&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/xsf:file&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;5. Save the manifest.xsf file and close it.&lt;/li&gt;
&lt;li&gt;6. Remove ‘4CB851E9.jpg&amp;#39; file from your folder.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Now you can have only one file in your folder and that is ‘hat_picture.jpg&amp;#39;.&lt;/p&gt;</description></item><item><title>Re: File Attachment Name</title><link>https://www.infopathdev.com:443/forums/thread/31678.aspx</link><pubDate>Mon, 25 Aug 2008 15:18:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31678</guid><dc:creator>feesh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31678.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31678</wfw:commentRss><description>&lt;p&gt;Hi Shiva&lt;/p&gt;
&lt;p&gt;Thanks for the info. I checked our the page but I do still have some questions.&lt;/p&gt;
&lt;p&gt;I beleive I understand how to retrieve the name of the file that is saved inside infopath but how would I go open having infopath open it as that file name?&lt;/p&gt;
&lt;p&gt;Just to clarify my problem: I don&amp;#39;t need to save the file name anywhere. Let&amp;#39;s say I have a file saved in windows under the name hat_picture.jpg and I attach it to the form. The control still shows the name hat_picture.jpg and if I try and save the file back to my desktop it opens a save window with the name hat_picture.jpg BUT if I try and just open the file directly from the form it will open as a name like 4CB851E9.jpg. &lt;/p&gt;</description></item><item><title>Re: File Attachment Name</title><link>https://www.infopathdev.com:443/forums/thread/31666.aspx</link><pubDate>Mon, 25 Aug 2008 06:10:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31666</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31666.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31666</wfw:commentRss><description>&lt;p&gt;Hello Feesh,&lt;/p&gt;
&lt;p&gt;Check out this link,&lt;/p&gt;
&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/892730"&gt;http://support.microsoft.com/kb/892730&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>File Attachment Name</title><link>https://www.infopathdev.com:443/forums/thread/31627.aspx</link><pubDate>Thu, 21 Aug 2008 15:28:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31627</guid><dc:creator>feesh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31627.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31627</wfw:commentRss><description>&lt;p&gt;I am running into a problem when opening a file attached to the infopath form. When I open the file the name of the file changes (looks to be just a random sequence of letters and numbers). When I hit Save As it still shows the original name. The problem is that the file name is very important and the users are confused when they see something different if they open the file directly from the form. Is there any way to code it to keep the original name?&lt;/p&gt;</description></item></channel></rss>