Jump to content

how to launch any browser


Recommended Posts

In a script I open a given HTML-file using:

Run(@ProgramFilesDir & '\Internet Explorer\iexplore.exe ' & $galpfad & '\' & $html, $galpfad, @SW_MAXIMIZE)

This works fine, but what if the user of the script uses Firefox, Opera or even some other browser?

Is there a way for the script to use any default browser?

Link to comment
Share on other sites

There is probably somewhere in the registry that it stores default browser.

The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...