<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Possible to Browse filesystem with Web enabled form?</title><link>https://www.infopathdev.com:443/forums/thread/47203.aspx</link><pubDate>Mon, 21 Sep 2009 14:16:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47203</guid><dc:creator>Doug.Walker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47203.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=47203</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve done the base64 conversion thing and only get the filename.&amp;nbsp; Path info is not stored in the base64 file attachment control.&amp;nbsp; But saving to a temp location may do the trick.&amp;nbsp; Thanks for the reply.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;Another part of this form is writing an event to a Sharepoint calendar.&amp;nbsp; I&amp;#39;ve been trying to save the file as an attachment to the event; but your idea seems a little slicker. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Possible to Browse filesystem with Web enabled form?</title><link>https://www.infopathdev.com:443/forums/thread/47173.aspx</link><pubDate>Sun, 20 Sep 2009 13:48:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47173</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=47173</wfw:commentRss><description>&lt;p&gt;I wonder -- would it be possible to convert the base 64 from the file attachment control and specify that as the attachment for the email? Actually, I just went to MSDN to look at the Add method for Attachments, and it seems to want a path. BUT, since your form is going to have to be full trust anyway, if you are going to access the user&amp;#39;s file system, you could decode the base 64 and save the file to a temp location and pick it up from there -- clean up the file you saved after sending the email. The base 64 in the file attachment control, to my knowledge, doesn&amp;#39;t contain the file path.&lt;/p&gt;</description></item><item><title>Possible to Browse filesystem with Web enabled form?</title><link>https://www.infopathdev.com:443/forums/thread/47079.aspx</link><pubDate>Wed, 16 Sep 2009 21:04:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47079</guid><dc:creator>Doug.Walker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47079.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=47079</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;&lt;p&gt;I need a web form solution that will allow a user to open a dialog box, browse to a file and select it.&lt;br /&gt;&lt;br /&gt;Then it will populate a text field with the full path and file name (for visual reference mainly).&lt;br /&gt;&lt;br /&gt;Eventually, the form will email the file as an attachment using the text from the text field (when submit button is clicked).&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve got the form working ... it emails where it&amp;#39;s supposed to go and the information is all there.&amp;nbsp; I just need to specify a file attachment.&lt;br /&gt;&lt;br /&gt;It can be done with openfiledialog, but I can&amp;#39;t use that in a web enabled form.&amp;nbsp; I&amp;#39;ve tried the &amp;quot;file attachment&amp;quot; control, but I can only get the file name (no path) when I convert from base64.&lt;br /&gt;If there was a input type=&amp;quot;file&amp;quot; control I could just use the text from that ... but I can&amp;#39;t figure out how to add one.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;I&amp;#39;m using visual basic.&amp;nbsp; Anybody have a solution?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;pseudocode&lt;br /&gt;.&lt;br /&gt;browsebutton_clicked&lt;br /&gt;.&lt;br /&gt;Filebrowserdialog.show&lt;br /&gt;&amp;#39;user selects file&lt;br /&gt;strfile=filebrowserdialog.fileandpathname&lt;br /&gt;txtAttach.text = strfile&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;submitbutton_clicked&lt;br /&gt;.&lt;br /&gt;strAttach = txtAttach.text&lt;br /&gt;&amp;#39;message is sent with attachment&lt;br /&gt;msg.attachments.add(strAttach)&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt; &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>