Results 1 to 6 of 6

Thread: browser set as default

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    143

    browser set as default

    Is it possible for the user to set the browser i created as default browser on their comp without using registry editor? I don't have it. Thanks in advance..
    Unignal Software Team Developer
    -------------------------------------------
    Current Project:
    Noter Light
    -------------------------------------------
    http://www.unignal.sg.tf

  2. #2
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    The default browser is stored in the Registry.
    Something has to modify the registry, either the user or your program.

    You could do it by sending them a .REG file with the appropriate settig in - although this could also be a good way of crashing their computer!!

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    143

    Hm.. sorie

    I don' really get wat u mean. I want a check box at the option form. If it is checked, my browser is default. If it is not then my browser is not. Sorie.. I'm juz a newbie... donno any registry stuff. Can someone write the code for me? Thanks alot.
    Unignal Software Team Developer
    -------------------------------------------
    Current Project:
    Noter Light
    -------------------------------------------
    http://www.unignal.sg.tf

  4. #4
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    Writing the code to access the Registry is a good way of crashing the computer. If you change what you want, good. If you change what you don't want, then it can be a complete re-build to get going again.

    So, you may be lucky to get someone to write your code for you, but I would want to fully understand what the code is about to do before I allow it to run on my computer.

    There is registry code examples in this forum - a quick search will reveal them to you.

    But which values you have to change in the Registry to allow a different program to be registered as a default browser - that I am not sure of. Try searching MSKB and see ifit knows.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    143

    wao...

    Some one please help. I do so one my very own browser to be able to be set as default. Its my many months of hard work... I've managed to allow user to select if they want to run it at startup, hide it at system tray. I juz want to make it go further. Also how do u relate different file extension wif my browser? I tried it once on .txt file. When i double clikc on the file, it launches my browser and open a webpage but its not the file i double clicked on. Someone told me something abt command$ but i juz can't ge it to work. Juz try my browser and u will know why i want to make it as good as commecial ones...
    www.twk.2ya.com


    email me at [email protected]
    Unignal Software Team Developer
    -------------------------------------------
    Current Project:
    Noter Light
    -------------------------------------------
    http://www.unignal.sg.tf

  6. #6
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    You are asking questions that are not VB related.... You may be lucky here, or you may not.

    File Associations (linking an executable to a particular file extension) is a separate subject. All of the extensions and their associated programs are maintained in the Registry - again, take care when editing it!

    Once you have your program associated with an extension, then double clicking on that file type in Windows Explorer will launch your program. In order to find out which particular file was double clicked on, you need to look at COMMAND within your FormLoad procedure. Start with a simple:
    VB Code:
    1. Sub Form_Load
    2.     MsgBox Command
    3. End Sub
    and then add to it as you want....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width