How to add browse button to infopath..? - InfoPath Dev
in

InfoPath Dev

How to add browse button to infopath..?

Last post 12-22-2011 12:50 AM by Niyaz. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 10-13-2005 02:35 AM

    How to add browse button to infopath..?

    Hi,

    I want to a add browse button that would open the file open dialog in my infopath form..? Do any one know how to do this in infopath..?

    Thanks,
    E. Rajasekar
  • 10-13-2005 03:05 AM In reply to

    Re: How to add browse button to infopath..?

    Hi,
    you should add a button to the form, then double-click on it, Edit from Code and write your code in .net to open the dialog. Pay attention to the security issues: maybe your form might be full trust.
  • 10-13-2005 03:55 AM In reply to

    Re: How to add browse button to infopath..?

    Hi,

    Thanks for your reply. I tried double clicking the button and this opens script editor with javascript(script.js). I wrote java script code to open file dialog but it throws error. Its not recogonizing javascript objects like 'document' . Which language do u mean by .net (jscript/vbscript/c#..?). I am very new to infopath and scripting languages. So If you could provide some code to open file dialog that would be very helpful to me..

    Thanks a lot,
    E. Rajasekar.
  • 10-13-2005 05:32 AM In reply to

    Re: How to add browse button to infopath..?

    Hi,
    to create the file open dialog I usually use visual studio .net. After installing InfoPath 2003 Toolkit for Visual Studio .NET (the link is on the right of main page of this site), you can create an Infopath Templete inside visual basic and you can add to the templete the .net code...it's an integrated environment, i like it. :)
  • 10-14-2005 03:14 AM In reply to

    Re: How to add browse button to infopath..?

    Hi tatopitta,

    Thanks a lot!. I installed infopath toolkit for .Net and got it working.

    Regards,
    E. Rajasekar.
  • 02-09-2011 01:37 AM In reply to

    Re: How to add browse button to infopath..?

    Hi, Is it possible to do this in VBScript? What I need is just to have like a browse button, and when the user selects a particular file, the link to the file selected is to be set to a hyperlink field. Regards, Johan
  • 07-13-2011 08:39 PM In reply to

    Re: How to add browse button to infopath..?

    I would also like to know if this is possible. And if not, roughly how it might be done using .NET.
  • 12-22-2011 12:50 AM In reply to

    • Niyaz
    • Not Ranked
    • Joined on 12-19-2011
    • Posts 4

    Re: How to add browse button to infopath..?

    HI

     

    Can we have possibility to configure the "Browse button" out of box in infopath form 2010?

    Many Thanks
    Niyaz
Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.