Re: Determine Available Browsers
- From: "expvb" <nobody@xxxxxxx>
- Date: Tue, 27 Jan 2009 11:25:12 -0500
"Lorin" <Lorin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:066AB26B-278E-4012-835E-DA39A687ED4D@xxxxxxxxxxxxxxxx
If I was developing a marketable product, then telling you what I am doing
would be a bad move on my part.
Anyway, I want to be able to allow a user to select one of the browsers
the
user has on his or her system to launch an http: webpage. Some webpages
work
better with one browser than another.
I don't know if there is an official way to get the list. Maybe I have seen
it been discussed, but I am not sure. But if there is a way, then it's
probably recent, and probably not all browsers are following it. The only
thing that they follow is how to make themselves the default browser,
otherwise they are just regular applications. Here is a list of web
browsers:
http://en.wikipedia.org/wiki/List_of_web_browsers
http://en.wikipedia.org/wiki/Comparison_of_web_browsers
Perhaps you can download the ones that you are interested in, and see what
registry entries they create, but this would not cover all versions. You can
enumerate the following key and collect "DisplayName" values, which is what
"Add/Remove Programs" shows, but this string could be localized.
HKLM or HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
"UninstallString" value tells Windows the command line to uninstall. It
usually includes the path, but not always. It's better to check
\Software\Company\... because it's usually not localized.
Finally, to access the registry easily from VB6, download the following
source code library:
http://sourceforge.net/projects/codebox/
In "src" folder, copy CRegistry.cls file to your project and use it to have
easy to use
registry functions. There is another file called CRegKey.cls, but it's a
trimmed down version that doesn't enumerate keys and values and is intended
for applications that just get/save their settings.
The library is a collection of classes that replicate the Common Controls
functionality using the API, plus many other useful classes, such
manipulating files and the registry.
.
- Follow-Ups:
- Re: Determine Available Browsers
- From: Lorin
- Re: Determine Available Browsers
- References:
- Determine Available Browsers
- From: Lorin
- RE: Determine Available Browsers
- From: Lorin
- Determine Available Browsers
- Prev by Date: Re: Backup using windows Live OneCare
- Next by Date: Re: Determine Available Browsers
- Previous by thread: RE: Determine Available Browsers
- Next by thread: Re: Determine Available Browsers
- Index(es):
Relevant Pages
|