Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,
i have a window application i want to set default browser to Mozilla Firefox on my application one button click .
my application in c#.net .
how i can done it ? using code ??
plz help me ..
Posted

1 solution

You will find the explanation on how it's prescribed on the Windows registry here: http://newoldthing.wordpress.com/2007/03/23/how-does-your-browsers-know-that-its-not-the-default-browser/[^].

See also http://msdn.microsoft.com/en-us/library/ms724475.aspx[^].

To change the records in registry in .NET you will need to use the class Microsoft.Win32.Registry, see http://msdn.microsoft.com/en-us/library/microsoft.win32.registry.aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900