<?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: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/70625.aspx</link><pubDate>Tue, 27 Sep 2011 08:42:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70625</guid><dc:creator>crim1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70625.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70625</wfw:commentRss><description>&lt;p&gt;In full trust mode you should be able to do something like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;var WshShell = new ActiveXObject(&amp;quot;WScript.Shell&amp;quot;);&lt;/p&gt;
&lt;p&gt;try{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WshShell.Run(&amp;quot;&lt;a&gt;\\\\SERVER\\SHARE&lt;/a&gt;&amp;quot;); &lt;/p&gt;
&lt;p&gt;}catch(e){&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;XDocument.UI.Alert(e); &lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/70501.aspx</link><pubDate>Wed, 21 Sep 2011 22:31:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70501</guid><dc:creator>gdgonzal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70501</wfw:commentRss><description>&lt;p&gt;Do you know how to accomplish this using JScript?&lt;/p&gt;</description></item><item><title>Re: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/30661.aspx</link><pubDate>Tue, 22 Jul 2008 08:38:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30661</guid><dc:creator>akash_waits</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30661.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30661</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My problem is somewhat like the discussed issue. In my case,in Infopath 2007&amp;nbsp;link is working fine but the excel file on that link (of type&amp;nbsp;excel 2007)&amp;nbsp;opens in the minimized mode not in the normal mode. Can you tell me what could be the possible reason for this or some work around to avoid that?&lt;/p&gt;
&lt;p&gt;I will be very thankful.&lt;/p&gt;
&lt;p&gt;Akash Kansal.&lt;/p&gt;</description></item><item><title>Re: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/27734.aspx</link><pubDate>Sun, 06 Apr 2008 19:52:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27734</guid><dc:creator>jrishe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27734.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27734</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Did you ever resolve this issue?&amp;nbsp; I just figured out there is a rather simple solution if you are willing to use a button instead of a hyperlink and add a small bit of code.&amp;nbsp; Add a button to the form, and in its properties, click Edit Form Code...&lt;/p&gt;&lt;p&gt;&amp;nbsp;Then add the following code (I&amp;#39;m providing versions for two different languages):&lt;/p&gt;&lt;p&gt;(VisualBasic)&lt;/p&gt;&lt;p&gt;Diagnostics.Process.Start(&amp;quot;&lt;a&gt;\\mca-ts1\share\folder\file.doc&lt;/a&gt;&amp;quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;(Visual C#)&lt;/p&gt;&lt;p&gt;System.Diagnostics.Process.Start(@&amp;quot;&lt;a&gt;\\mca-ts1\share\folder\file.doc&lt;/a&gt;&amp;quot;);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The path in quotes should be the usual path you would use within Windows.&lt;/p&gt;&lt;p&gt;It seems the form needs to be set to full trust and may need a certificate, so you might run into some security snags, but that should provide the desired functionality.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/27578.aspx</link><pubDate>Mon, 31 Mar 2008 22:55:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27578</guid><dc:creator>Goner</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27578.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27578</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I was able to get this to work on network drive by using the syntax &lt;a&gt;file://mappeddrive/folder/file&lt;/a&gt;&amp;nbsp;(eg &lt;a&gt;file://x:/shared/test.doc&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;No success on pulling from local HD though.&amp;nbsp; Still working on it.&lt;/p&gt;</description></item><item><title>Re: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/27435.aspx</link><pubDate>Wed, 26 Mar 2008 05:07:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27435</guid><dc:creator>jrishe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27435.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27435</wfw:commentRss><description>&lt;p&gt;Hello again,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m glad that my information helped a little, but unfortunately it may lead to a dead end.&amp;nbsp; I&amp;#39;m very new to InfoPath myself and am afraid I can&amp;#39;t be a lot of help.&lt;/p&gt;&lt;p&gt;After your most recent post, I toyed around with hyperlinks in InfoPath myself, and had basically the same results as you, even when the file: paths indicated a file on a local drive.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;This is only a guess, but it seems InfoPath might be set to only open links of certain types (http:, mailto:, etc.) and not file: links.&amp;nbsp; I also noticed that http: links are opened in Internet Explorer and sent to port 80 even when IE is not the default browser and a port is not specified.&amp;nbsp; So it&amp;#39;s doing more than simply carrying out Windows&amp;#39; default behavior for the various addresses.&amp;nbsp; There might be a way to finagle what you want to do, but it seems to be not as simple as just using a hyperlink control.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;As Clay said above, the simplest solution might be to set up a simple HTTP server on mca-ts1 and make the shared folder accessible that way.&amp;nbsp; Is that an option?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/27409.aspx</link><pubDate>Tue, 25 Mar 2008 03:32:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27409</guid><dc:creator>Adam Sellars</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27409.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27409</wfw:commentRss><description>&lt;p&gt;Hi jrishe, &lt;/p&gt;
&lt;p&gt;Thanks for the tip on five forward slashes, it works while I&amp;#39;m in design mode, but not preview mode now - which is closer than I&amp;#39;ve been yet!&lt;/p&gt;
&lt;p&gt;My bad on the original path, I now have &lt;a&gt;file://///mca-ts1/share/folder/file.doc&lt;/a&gt;, and as mentioned above, in design mode when I right-click on it the file will open, but in preview mode nothing happens. No window pops up, no error messages.&lt;/p&gt;
&lt;p&gt;Any ideas on what is causing this?&lt;/p&gt;
&lt;p&gt;When logged in as myself (a non-administrator), I get a access to resourse denied error. When logged in as the administrator I don&amp;#39;t get that error, but I still have the same problem when logged in as administrator with the hyperlink not opening anything in preview mode.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/27385.aspx</link><pubDate>Sun, 23 Mar 2008 19:10:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27385</guid><dc:creator>jrishe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27385.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27385</wfw:commentRss><description>&lt;p&gt;It seems the most friendly syntax for a file: URL to a file on a network drive would be something like this:&lt;/p&gt;&lt;p&gt;&lt;a&gt;file://///server/share/folder/etc/file.doc&lt;/a&gt;&lt;/p&gt;&lt;p&gt;That&amp;#39;s &lt;i&gt;five&lt;/i&gt; forward slashes after file:, and all the other slashes are forward slashes as well.&lt;/p&gt;&lt;p&gt;Please give that a try if you have not already resolved the issue.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;As for your original post, you mentioned this URL: &amp;quot;file://MCA_TS1\H:\Forms\document.pdf&amp;quot;&lt;/p&gt;&lt;p&gt;I may be mistaken, but I didn&amp;#39;t think that shared drives could have colons in their names.&amp;nbsp; Could it be the case that MCA_TS1&amp;#39;s H: drive has a name other than H: on the network?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/27276.aspx</link><pubDate>Tue, 18 Mar 2008 05:38:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27276</guid><dc:creator>Adam Sellars</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27276.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27276</wfw:commentRss><description>&lt;p&gt;Linking to google did work, however I am now unable to replicate this.&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve had troubles with IE7 for a while now, when browsing to a number of sites (and always the same site so not a random thing), the page will not load and will instead show a completely white page (no error messages). I am now getting this with all hyperlinks I create in InfoPath - even to Google.&lt;/p&gt;
&lt;p&gt;I now can&amp;#39;t replicate the &amp;quot;access denied&amp;quot; error I had previously been getting, so I am not sure if it is now an IE error or problem with the hyperlinks. I am using the path &lt;a&gt;\\server\share\folder\etc\file.doc&lt;/a&gt; which works fine if I manually enter it into IE, and works as a hyperlink in word. I&amp;#39;m hoping that somehow the &amp;quot;access is denied&amp;quot; problem has been solved, but replaced by this other &amp;quot;blank page&amp;quot; problem - probably wishfull thinking&lt;/p&gt;
&lt;p&gt;I am in the process of reinstalling IE to hopefully solve the blank page error, but if there are any ideas out there, I would love to hear them.&lt;/p&gt;</description></item><item><title>Re: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/27158.aspx</link><pubDate>Wed, 12 Mar 2008 05:49:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27158</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27158.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27158</wfw:commentRss><description>&lt;p&gt;So using google in your field works?&lt;/p&gt;
&lt;p&gt;If so then it must be the hyperlink syntax.&amp;nbsp; It seems to me I remember something that the hyperlink must be a web based one (http://). It could be a security setting in IE but if it opens via the browser then it should be OK.&lt;/p&gt;
&lt;p&gt;The file type link might not work.&amp;nbsp; You could try a UNC path too &lt;a&gt;\\computer\share&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I think your items may be on a file share rather than a web server or SharePoint.&lt;/p&gt;
&lt;p&gt;If you had a webserver you might be able to create a redirect.&lt;/p&gt;</description></item><item><title>Re: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/27156.aspx</link><pubDate>Wed, 12 Mar 2008 01:15:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27156</guid><dc:creator>Adam Sellars</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27156.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27156</wfw:commentRss><description>&lt;p&gt;Hi Clay,&lt;/p&gt;&lt;p&gt;Thanks for the quick reply. I&amp;#39;ve saved the path in a field and then linked a hyperlink control to that field, but still no good. In design mode, when I right-click on the hyperlink and choose to open the hyperlink, I get the error &amp;quot;Access is denied&amp;quot;. In preview mode, clicking on the hyperlink just does nothing. The link works in word and IE, plus a similar hyperlink to Google works fine.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Would making the form fully trusted help? I can&amp;#39;t find a way to &amp;quot;install&amp;quot; the form (when I publish it, I&amp;#39;m not given any options to create the install package), and I know very little about digital certificates.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Adam&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/27148.aspx</link><pubDate>Tue, 11 Mar 2008 17:31:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27148</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27148.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27148</wfw:commentRss><description>&lt;p&gt;This should be doable and I have done this in 2003 forms before. I have saved the path in a field and then used a hyperlink control.&lt;/p&gt;
&lt;p&gt;First I would verify your hyperlink text.&lt;/p&gt;
&lt;p&gt;Can you paste it into your browser and get the document you are after?&lt;/p&gt;
&lt;p&gt;Try creating a hyperlink in a Word Document to test.&lt;/p&gt;
&lt;p&gt;Another test is try linking to google or something to verify that it is just the path.&lt;/p&gt;
&lt;p&gt;Once you have this then your Hyperlink should be able to open the page or document.&lt;/p&gt;</description></item><item><title>Hyperlink to file in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/27140.aspx</link><pubDate>Tue, 11 Mar 2008 14:19:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27140</guid><dc:creator>Adam Sellars</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27140.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27140</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I&amp;#39;m trying to create a hyperlink to a file on our server in an InfoPath form, but I can&amp;#39;t seem to make it work. The InfoPath form I&amp;#39;m creating is in a shared network folder, and the file I&amp;#39;m trying to link to is in the same shared network folder. Is it possible to do? &lt;/p&gt;&lt;p&gt;I&amp;#39;ve tried Microsoft Office help and the MSDN site (although 90% of it is over my head) and can&amp;#39;t find an answer. It may not help that I&amp;#39;m using InfoPath 2003, so far it&amp;#39;s been less than helpful as I had to do a date calculation and I know nothing about any programming language, ActiveX control, etc - thankfully this site was a great help.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Basically I&amp;#39;m creating a checklist for employees and want them to be able to just click on a link (or button) that opens an associated file (often a Word doc or pdf) that may explain the question they are answering, or be a workpaper or something that needs to be done.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m sure I&amp;#39;ve read somewhere that if I use the full network path it would work (which I imagine to be something like &amp;quot;file://MCA_TS1\H:\Forms\document.pdf&amp;quot;), but it doesn&amp;#39;t seem to. I&amp;#39;ve tried changing the form security to full-trust (however I can&amp;#39;t work out how to digitally sign the form as required), but still no go. I found somewhere code to program a button to do the job, but I couldn&amp;#39;t make this work either.&lt;/p&gt;&lt;p&gt;No matter what I try, I seem to get one of two results: 1) clicking the link does nothing - no window, no error message, nothing, or 2) an IE window popup saying the server is unreachable or some other generic error message.&lt;/p&gt;&lt;p&gt;The first file I&amp;#39;m trying to link to has relaxed security settings on it (non-admin users can modify/add/delete/etc, but not take ownership or change attributes), so I doubt this is a problem. Will it become a problem if a file I want to link to has a stricter security setting (basically open only)? Some of the files are &amp;quot;templates&amp;quot; where I have stricter security settings to prevent employees saving alterations unless they save a copy in another location.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If anyone has any ideas, or even a simple yes it&amp;#39;s possible or no it&amp;#39;s not, it would be fantastic. If I can&amp;#39;t do it I need to think of some other way of doing the checklists.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks, Adam.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>