locked
How do i make default my program RRS feed

  • Question

  • hi all...

    i make a web browser program. how do i make default my web browser program?

    simple. if internet explorer is default, all web pages start automaticly with internet explorer.

    how do i make default my web browser program with VB code?

     

    (i use visual studio 2010 - visual basic language)

     

    thanks....

    Tuesday, August 24, 2010 8:55 AM

Answers

  • Take a look at this registry key, that is where all browers registered on the system are listed and the default browser will be value to this key, if you know how to work with registry, then you can write your program to registry and set it as default browser but deal with registry is very dangerous so, you may have to back up the registry before try any of the code you write. Below is an example for IE as default browser

    key : HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet
    Value : IEXPLORE.EXE

    kaymaf


    CODE CONVERTER SITE

    http://www.carlosag.net/Tools/CodeTranslator/.

    http://www.developerfusion.com/tools/convert/csharp-to-vb/.

    • Marked as answer by Bin-ze Zhao Monday, August 30, 2010 8:33 AM
    Tuesday, August 24, 2010 1:28 PM