<?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: Link File Attachments</title><link>https://www.infopathdev.com:443/forums/thread/10098.aspx</link><pubDate>Tue, 18 Jul 2006 06:01:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10098</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10098.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10098</wfw:commentRss><description>Hi Phusion,&lt;br /&gt;&lt;br /&gt;I am quite sure that it is possible to do the same thing in JS but my JS skills are really limited. I'll try to find out how to do but hopefully some other guy also reads this thread, cos I know that there are many around who know how to do it.&lt;br /&gt;&lt;br /&gt;So far..</description></item><item><title>Re: Link File Attachments</title><link>https://www.infopathdev.com:443/forums/thread/10097.aspx</link><pubDate>Mon, 17 Jul 2006 20:27:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10097</guid><dc:creator>phusiondesign</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10097</wfw:commentRss><description>Is there a way to do this with JS? I do not have access to visual studio on the computer that I am forced to work on?&lt;br /&gt;&lt;br /&gt;Thanks much!&lt;br /&gt;&lt;br /&gt;- David</description></item><item><title>Re: Link File Attachments</title><link>https://www.infopathdev.com:443/forums/thread/10096.aspx</link><pubDate>Mon, 17 Jul 2006 06:24:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10096</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10096.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10096</wfw:commentRss><description>Hi again,&lt;br /&gt;&lt;br /&gt;first thing you need to do if you want to code with C# you have to download the InfoPath toolkit for VS. This you can get from here: &lt;a href='http://www.microsoft.com/downloads/details.aspx?familyid=7E9EBC57-E115-4CAC-9986-A712E22879BB&amp;displaylang=en' target='_blank' title='http://www.microsoft.com/downloads/details.aspx?familyid=7E9EBC57-E115-4CAC-9986-A712E22879BB&amp;displaylang=en'&lt;a target="_blank" href=http://www.microsoft.com/downloads/details.aspx?familyid=7E9EBC57-E115-4CAC-9986-A712E22879BB&amp;displaylang=en&gt;http://www.microsoft.com/downloads/details.aspx?familyid=7E9EBC57-E115-4CAC-9986-A712E22879BB&amp;displaylang=en&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have the following method which I call from the button click events. The parameter is the textbox in which i want to write the path of the selected file:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;public void getFile(IXMLDOMNode attachmentBox)&lt;br /&gt;		{&lt;br /&gt;			OpenFileDialog ofdlg = new OpenFileDialog(); &lt;br /&gt;			ofdlg.Title = "File Browser" ; &lt;br /&gt;			ofdlg.InitialDirectory = @"c:\" ; &lt;br /&gt;			ofdlg.Filter = "All files (*.*)|*.*|All files (*.*)|*.*" ; &lt;br /&gt;			ofdlg.FilterIndex = 2 ; &lt;br /&gt;			ofdlg.RestoreDirectory = true ; &lt;br /&gt;			if(ofdlg.ShowDialog() == DialogResult.OK) &lt;br /&gt;			{ &lt;br /&gt;				attachmentBox.text = ofdlg.FileName;&lt;br /&gt;			}&lt;br /&gt;		}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;With the file now in your textbox you can use this as a datasource for your hyperlink.&lt;br /&gt;&lt;br /&gt;Let me know if you need more support.&lt;br /&gt;&lt;br /&gt;Jerome</description></item><item><title>Re: Link File Attachments</title><link>https://www.infopathdev.com:443/forums/thread/10095.aspx</link><pubDate>Fri, 14 Jul 2006 13:55:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10095</guid><dc:creator>phusiondesign</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10095.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10095</wfw:commentRss><description>Yes, I would appreciate some code help. I don't really need to create a folder. I just need a browse button to create a hyperlink apon file selection.&lt;br /&gt;&lt;br /&gt;Also, how can i use C# without access to Visual Studio.</description></item><item><title>Re: Link File Attachments</title><link>https://www.infopathdev.com:443/forums/thread/10094.aspx</link><pubDate>Fri, 14 Jul 2006 09:11:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10094</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10094.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10094</wfw:commentRss><description>Hi have done a similar thing. I have some custom browse buttons in my views. With there help the user can browse his directory or network drives. After selection of the file the path gets written into a text box. Then when the user submits the the form I create a new folder with a unique ID for each request. (or whatever) Additionally all the selected files are uploaded to that folder and I create a hyperlink to that specific path which i then have in the other views.&lt;br /&gt;Hope the idea helps.&lt;br /&gt;If you need some help with the code let me know. Mine is in C# by the way.&lt;br /&gt;Cheers</description></item><item><title>Link File Attachments</title><link>https://www.infopathdev.com:443/forums/thread/5722.aspx</link><pubDate>Thu, 13 Jul 2006 15:47:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5722</guid><dc:creator>phusiondesign</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5722.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5722</wfw:commentRss><description>I am new to infopath, so please bear with me. I have been working with the file attachmnet control, and everything was fine until we realized that if you attach a bunch of files... things get really big. How can I got about creating an attachment control, where I can browse my computer and it will create a hyperlink to that file on the shared drives.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;David</description></item></channel></rss>