Page 2 of 3

Re: How to make your browser the default

Posted: Tue May 10, 2011 9:30 am
by Mark
can you explain abit better on what we need to do to make it the default browser please?. Can you make it in to a tutorial.

Re: How to make your browser the default

Posted: Tue May 10, 2011 9:46 am
by smashapps
I was researching this the other day you have to do it in your registry which I do not know how to do.

You should of posted this in the Tutorial Requests section.

Re: How to make your browser the default

Posted: Tue May 10, 2011 10:03 am
by Napster1488
In Windows 7 it can be done without Registry.

Re: How to make your browser the default

Posted: Tue May 10, 2011 10:05 am
by Mark
im using vista?.

Re: How to make your browser the default

Posted: Tue May 10, 2011 10:08 am
by smashapps
in windows 7 you need your browser on the list of browsers otherwise you can manually change your default browser or you can change what programs open what extentions

to do it automatically with your own application you still need to do it with the Registry

Re: How to make your browser the default

Posted: Tue May 10, 2011 10:17 am
by Napster1488
In Windows7 u can do it in StartMenü-Default Programs
About Vista i dont know...somewhere in Registry it must be done.

Re: How to make your browser the default

Posted: Tue May 10, 2011 10:54 am
by smashapps
Yes but it doesnt let you select the programs only the ones on the list

Re: How to make your browser the default

Posted: Tue May 10, 2011 11:38 am
by Napster1488
smashapps wrote:
Yes but it doesnt let you select the programs only the ones on the list
U can also Select other Programs,like one u did with Visual Basic ;)

Re: How to make your browser the default

Posted: Tue May 10, 2011 11:49 am
by smashapps
Oh? It wouldnt allow me to do that but if so then then thats cool but the user of our applications may not know how to do that which is why Registry is still better :D

Re: How to make your browser the default

Posted: Wed Feb 29, 2012 1:27 am
by GaiaonlineHD
MrAksel wrote:
Just showing you how to make your own webbrowser the default one
Code: Select all
Dim Key As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Software\Clients\StartmenuInternet", True) 'Creates or opens the registry key for the default browser with write access
Key.SetValue("", "BROWSER PATH") 'The path of your program
Key.Close() 'closes and flushes the key
Replace "BROWSER PATH" with the program that should be the default browser
Or:
Code: Select all
Microsoft.Win32.Registry.SetValue("HKEY_CURRENT_USER\Software\Clients\StartmenuInternet", "", "BROWSER PATH")
Doesnt make much sense how do i put this in my program?