• how to open file in default web browser? (2000/sp3)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » how to open file in default web browser? (2000/sp3)

    Author
    Topic
    #422888

    I’ve got a database that can output a bunch of data into an HTML file.. It’s all generated through code (no reports or pages)…

    How can I have a button open the generated file in the “default browser?” I don’t want to hard-code a call to RunApp() with a particular browser or path…

    thanks!
    ..dane

    Viewing 0 reply threads
    Author
    Replies
    • #965844

      In the on click event of the button, enter the following :

      Me.MyCommandButton.HyperlinkAddress = “c:MyHTMLFile.htm”

      Replace the name of the button and the name and path of the file with yours.

    Viewing 0 reply threads
    Reply To: how to open file in default web browser? (2000/sp3)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: