On Click of button launch a specified URL - InfoPath Dev
in

InfoPath Dev

On Click of button launch a specified URL

Last post 03-09-2011 07:07 AM by bblanke. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-09-2011 06:24 AM

    • bblanke
    • Top 500 Contributor
      Male
    • Joined on 11-12-2009
    • Milwaukee, WI
    • Posts 32

    On Click of button launch a specified URL


    I'm look for how to code in VB the launching of a URL in the event of a click of a button.

    The url is a webservice on our intranet that will do an action external to Infopath. (url example: http://www.abccompany.com/job=[value from form])

    So when a user clicks the button, their default web browser would open to the designated url.

    I only have a basic knowledge of VB and haven't been able to find an example of this code, please help.

    Thank you,
    Brandon
    Brandon Blanke
    Technical Analyst / Quad Graphics
    Filed under: , ,
  • 03-09-2011 07:07 AM In reply to

    • bblanke
    • Top 500 Contributor
      Male
    • Joined on 11-12-2009
    • Milwaukee, WI
    • Posts 32

    Re: On Click of button launch a specified URL


    Found a solution.

    System.Diagnostics.Process.Start("http://www.website.com")
    Brandon Blanke
    Technical Analyst / Quad Graphics
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.