|
-
Dec 17th, 2002, 10:49 PM
#1
Thread Starter
Addicted Member
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
-
Dec 18th, 2002, 07:22 AM
#2
Frenzied Member
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!!
-
Dec 18th, 2002, 09:52 AM
#3
Thread Starter
Addicted Member
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
-
Dec 18th, 2002, 09:57 AM
#4
Frenzied Member
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.
-
Dec 18th, 2002, 10:09 AM
#5
Thread Starter
Addicted Member
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
-
Dec 18th, 2002, 10:16 AM
#6
Frenzied Member
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:
Sub Form_Load
MsgBox Command
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|