<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13727.aspx</link><pubDate>Wed, 07 Dec 2005 03:33:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13727</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13727.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13727</wfw:commentRss><description>I know this isn't quite what you're looking for, but what about putting your browse button in an HTML taskpane?  This implementation would be incredibly easier, but not nearly as elegant.&lt;br /&gt;&lt;br /&gt;See this thread for more info.&lt;br /&lt;a target="_blank" href=http://infopathdev.com/forums/topic.asp?TOPIC_ID=1231&gt;http://infopathdev.com/forums/topic.asp?TOPIC_ID=1231&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13726.aspx</link><pubDate>Tue, 06 Dec 2005 22:22:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13726</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13726.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13726</wfw:commentRss><description>Hi again,&lt;br /&gt;Feel free to send e-mail to support@(ourdomain).com.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13725.aspx</link><pubDate>Tue, 06 Dec 2005 16:52:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13725</guid><dc:creator>tgrantham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13725.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13725</wfw:commentRss><description>Hi, Patrick.&lt;br /&gt;&lt;br /&gt;I don't want the user to upload files, I just want them to specify the path and file name. And a link control, to my knowledge, does not allow the user to alter the link URL.&lt;br /&gt;&lt;br /&gt;If I had a way to upload images to this forum, I could show examples of the layout changes. If you let me know your email address, I can send them directly to you.&lt;br /&gt;&lt;br /&gt;I'm using InfoPath for all the good reasons you stated, plus the fact that it natively produces XML files valid to a schema. I have a major application I promised to senior management that is hung up waiting to resolve this simple issue of enabling users to specify a link to a file.</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13724.aspx</link><pubDate>Tue, 06 Dec 2005 04:48:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13724</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13724.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13724</wfw:commentRss><description>Hi Tim,&lt;br /&gt;&lt;br /&gt;The layout changes is really weird. Can you be slightly more specific? Are you sure that the machine hasn't been set to use large fonts or something? That can change it.&lt;br /&gt;&lt;br /&gt;As for the ActiveX frustration, why not just use a file attachment control or a link control?&lt;br /&gt;&lt;br /&gt;I agree that ActiveX can be frustrating, but the problem may be your expectation of InfoPath as an HTML forms replacement. InfoPath is not a replacement for webforms. For simple form applications that need to be linked with Web services or databases, it is much easier to create the InfoPath form than the webform and the maintenance/support value proposition is compelling. However, for applications that browse the file system, you'll want to develop a webform or winform. &lt;br /&gt;&lt;br /&gt;Sorry, if this seems a bit of a lame answer. Just what's on my mind though ...&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13723.aspx</link><pubDate>Mon, 05 Dec 2005 14:54:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13723</guid><dc:creator>tgrantham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13723.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13723</wfw:commentRss><description>I never thought InfoPath would be so &lt;font color="red"&gt;frustrating&lt;/font id="red"&gt;.&lt;br /&gt;&lt;br /&gt;I want to add a simple control to my form that enables the user to open a file browser to specify a file name and path for an anyuri element. This is available in standard HTML forms, using the "file" value for the type attribute of the input element. Why InfoPath does not provide the same functionality in its forms is baffling to me.&lt;br /&gt;&lt;br /&gt;Anyhoo, I created a simple ActiveX control that does the same thing and added it to my InfoPath controls. Like what one gets in an HTML form, it consists of a text box with a button labeled "Browse" beside it that opens a common dialog control to enable the user to select a file. The path and file name text is then copied into the text box.&lt;br /&gt;&lt;br /&gt;Unfortunately, it does not work the same way on all computers on which I have installed the ActiveX control, even though the versions of Windows, InfoPath, and the ActiveX control are all identical. On some computers, the Browse button in the control does not appear. None of the computers complains when the form is loaded and the text box in the control works fine.&lt;br /&gt;&lt;br /&gt;I don't know if this is related to this problme, but I've noticed that forms get rendered differently on different computers, even though, again, all versions of the software are the same. It's as though the page size was smaller in width: tables get squashed and fields get clipped. But the page setup is identical on all the computers.&lt;br /&gt;&lt;br /&gt;Please, please help me, before I'm reduced to a blubbering fool. ;-)&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Tim.&lt;br /&gt;</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13722.aspx</link><pubDate>Fri, 28 Oct 2005 00:47:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13722</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13722.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13722</wfw:commentRss><description>Do you have the ability to deploy your form and OCX with an install program such as Wise?  You won't have any issue if you can go that way.&lt;br /&gt;&lt;br /&gt;Franck</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13721.aspx</link><pubDate>Thu, 27 Oct 2005 21:10:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13721</guid><dc:creator>tgrantham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13721.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13721</wfw:commentRss><description>Ok, my results so far... I have successfully created an ActiveX control that implements a browse button and binds the FilePath property to an anyuri field in my data source. However, to be packaged with an InfoPath form, the .cab file containing the ActiveX control has to be digitally signed -- and the method for signing in Andrew Ma's article doesn't work for me. When InfoPath attempts to install the cab file, it displays a message saying the publisher is not trusted and it does not allow me to override it or to add the certificate to my list of trusted publishers. So I can't install the control.&lt;br /&gt;&lt;br /&gt;Do I have to go to a certifying authority and get a certificate?</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13720.aspx</link><pubDate>Fri, 21 Oct 2005 20:56:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13720</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13720.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13720</wfw:commentRss><description>My pleasure...&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13719.aspx</link><pubDate>Fri, 21 Oct 2005 16:58:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13719</guid><dc:creator>tgrantham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13719.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13719</wfw:commentRss><description>Perfect! Thanks, Frank.</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13718.aspx</link><pubDate>Fri, 21 Oct 2005 16:04:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13718</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13718.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13718</wfw:commentRss><description>Hi Tim,&lt;br /&gt;&lt;br /&gt;Start there:&lt;a target="_blank" href=http://blogs.msdn.com/ajma/articles/213868.aspx.&gt;http://blogs.msdn.com/ajma/articles/213868.aspx.&lt;/a&gt;  You will find everything you need.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13717.aspx</link><pubDate>Fri, 21 Oct 2005 16:02:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13717</guid><dc:creator>tgrantham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13717.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13717</wfw:commentRss><description>Hi, Frank.&lt;br /&gt;&lt;br /&gt;I investigated doing what you suggest a while back but there is very little documentation about what InfoPath needs for the wrapper. Microsoft's Webcast on using custom controls in InfoPath does give an overview, but refers for the details to a document on MSDN that I have not been able to find.&lt;br /&gt;&lt;br /&gt;Unfortunately, it seems there's no way in Javascript to access a DLL, which is what I need.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Tim.&lt;br /&gt;</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13716.aspx</link><pubDate>Fri, 21 Oct 2005 14:09:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13716</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13716.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13716</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Why don't you build you own VB6 Active X control?  You just need your own wrapper around the MS control to make it safe for scripting and allow you to add it to InfoPath as a custom control.&lt;br /&gt;&lt;br /&gt;Just a thought...&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13715.aspx</link><pubDate>Fri, 21 Oct 2005 13:29:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13715</guid><dc:creator>tgrantham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13715.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13715</wfw:commentRss><description>Thanks, Patrick. I had already tried looking on MSDN/Google but your search string appears to yield much more useful hits.</description></item><item><title>Re: implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/13714.aspx</link><pubDate>Thu, 06 Oct 2005 18:12:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13714</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13714.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13714</wfw:commentRss><description>Hi Tim and welcome to our forum,&lt;br /&gt;Good question! I worked on the Windows Common Dialogs back in NT 3.1 and 3.5 days (early '90s). They have gone through several changes since, but they are available as part of the operating system. You'll want to search MSDN/Google for "Windows Common File Open Dialog" or something like that. It will require code, but you're already using that for the current control. Anyway, good luck.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>implementing a browse button</title><link>https://www.infopathdev.com:443/forums/thread/12603.aspx</link><pubDate>Wed, 05 Oct 2005 17:00:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12603</guid><dc:creator>tgrantham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12603.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12603</wfw:commentRss><description>I have created a form that uses the Microsoft Common Dialog Control linked to a button in the form to enable users to browse for a file name to insert into a field of type anyuri.&lt;br /&gt;&lt;br /&gt;However, not everyone has this control on their machine. Is there one available as part of the basic operating system (i.e. one that does not have to be distributed with the form) that provides the same functionality?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Tim.</description></item></channel></rss>