| | |
Setting a Home-Made Browser as Default
![]() |
•
•
Join Date: Nov 2004
Posts: 10
Reputation:
Solved Threads: 0
Hi everyone
I've been working on developing a web browser in VB6 similar in capability to IE and I would like to set it as the default browser. I have been unsuccessful in finding any way to A) change the default browser to mine with the program itself [the way IE does if you tell it to check if it is the default] or B) change it manually via the registry or whatever might be the case. Any help you can provide would be greatly appreciated.
Thank you for your time!
-tom
I've been working on developing a web browser in VB6 similar in capability to IE and I would like to set it as the default browser. I have been unsuccessful in finding any way to A) change the default browser to mine with the program itself [the way IE does if you tell it to check if it is the default] or B) change it manually via the registry or whatever might be the case. Any help you can provide would be greatly appreciated.
Thank you for your time!
-tom
•
•
Join Date: Nov 2004
Posts: 10
Reputation:
Solved Threads: 0
thanks for the reply. If you (or anyone else, I suppose) wouldn't mind answering them, I have a few more questions now that I know that. I see the value on my comp for IE is:
"C:\PROGRA~1\INTERN~1\IEXPLO~1.EXE" -nohome
If my browser is "C:\Program Files\BrowserProg\Browser.exe" is this right:
"C:\PROGRA~1\BROWSE~1\BROWSER.EXE" -nohome
Also, does "-nohome" mean there is no homepage set, and if so, what would it look like set?
Thanks you for your time
"C:\PROGRA~1\INTERN~1\IEXPLO~1.EXE" -nohome
If my browser is "C:\Program Files\BrowserProg\Browser.exe" is this right:
"C:\PROGRA~1\BROWSE~1\BROWSER.EXE" -nohome
Also, does "-nohome" mean there is no homepage set, and if so, what would it look like set?
Thanks you for your time
It depends on the operating system, in regards to your path. If you are using NTFS, chances are that they whole entire Path is acceptable. If you are using FAT or something along those lines, then the chances are good that you'll need to ~ them. I suggest manually trying it in the registry, with one way, and then trying to see if it loads correctly, if not, try the other way.
As For -nohome, there has been a ton of different explanations, but it would be a blank white page. some people claim nohome is just about:blank, otherwise claim it's...... a little something more on the dark side.
I'm not 100% sure that -nohome is going to work with your program, even if you are using VB's web browser control. Because you are not passing paramaters (-nohome) to the object (the browser control), you are passing it to YOUR EXE.
So, You'd have to check something about passing parameters to your program, and then passing those to your control. Basically, something a little more to the point would be:
use that in your form load, or, whenver the browser is supposed to show. That will do essentially the same thing.
As For -nohome, there has been a ton of different explanations, but it would be a blank white page. some people claim nohome is just about:blank, otherwise claim it's...... a little something more on the dark side.
I'm not 100% sure that -nohome is going to work with your program, even if you are using VB's web browser control. Because you are not passing paramaters (-nohome) to the object (the browser control), you are passing it to YOUR EXE.
So, You'd have to check something about passing parameters to your program, and then passing those to your control. Basically, something a little more to the point would be:
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
browser1.navigate "about:blank"
use that in your form load, or, whenver the browser is supposed to show. That will do essentially the same thing.
![]() |
Similar Threads
- Dansguardian - "Unable to getgrnam(): Success" (*nix Software)
- Home-made string class constructor (C++)
- Virtumonde win 32 infection help please. (Viruses, Spyware and other Nasties)
- News Story: Sun Makes the Browser the Bad Boy at JavaFX Announcement (Pay-Per-Click Advertising)
- Can't Change Home Page (Web Browsers)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: HELP creating a multiserver game in VB winsock
- Next Thread: Countdown to a date
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows







