Is there a common method/api to list all web browsers (name, executable, default yes/no) installed on my machine (and per user), and how to find out which is the default web browser?
I have seen this question: How to find all the browsers installed on a machine
And on MSDN: How to Register an Internet Browser or Email Client With the Windows Start Menu which states that web-browsers should register themselves under HKLM\SOFTWARE\Clients\StartMenuInternet (and HKCU)
Is that really the common/correct approach? (And if yes, any solid implementation out there?)
My goal is to create a drop-down menu with a list of all web-browsers installed on user’s machine (indicating the default), and allow the user to browse his HTML file/URLs with one of the external web-browser available.
You could do something like
and
Test it: