Jump to content

open links with firefox hidden

Recommended Posts

Try explicitly opening a browser via its exe and passing the url on the command line.  I think when open via file association only the first param on the command line is passed.  Usually it is something like ".txt" would invoke notepad.exe "%1"


Likely the minimize flag is ignored.  One trick I use to get the path of the default browser is to have a dummy html file included with my program.  Then I use FindExecutable() API with the full path to the dummy index.html.  This returns the complete path to FF, IE, whatever.


Edited by MilesAhead
Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...