How to make your browser the default
Use this board to post your code snippets - tips and tricks
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.
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.
You should of posted this in the Tutorial Requests section.
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
In Windows 7 it can be done without Registry.
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
to do it automatically with your own application you still need to do it with the Registry
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
In Windows7 u can do it in StartMenü-Default Programs
About Vista i dont know...somewhere in Registry it must be done.
About Vista i dont know...somewhere in Registry it must be done.
Yes but it doesnt let you select the programs only the ones on the list
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
smashapps wrote:Yes but it doesnt let you select the programs only the ones on the listU can also Select other Programs,like one u did with Visual Basic ;)
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
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
MrAksel wrote:Just showing you how to make your own webbrowser the default oneDoesnt make much sense how do i put this in my program?Code: Select allReplace "BROWSER PATH" with the program that should be the default browserDim 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
Or:Code: Select allMicrosoft.Win32.Registry.SetValue("HKEY_CURRENT_USER\Software\Clients\StartmenuInternet", "", "BROWSER PATH")
Copyright Information
Copyright © Codenstuff.com 2020 - 2023