W
W
whimax2016-09-16 01:59:42
Programming
whimax, 2016-09-16 01:59:42

Programmatically change default browser?

I need to switch the default browser in the program, how can I do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
15432, 2016-09-16
@whimax

The registry key
"Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice" is responsible for this.
An example in C# is presented here
https://social.msdn.microsoft.com/Forums/windowsde. ..
For HTTPS - neighboring registry branch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question