Re: Determine Available Browsers

Tech-Archive recommends: Speed Up your PC by fixing your registry



Thanks.
Good study material.

"expvb" wrote:

"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.



.



Relevant Pages

  • Re: Writing a file in Response
    ... Don't be surprise of the mindset of the new generation programmers who are raised in the last 10 years of open source availability. ... MS has followed Chrome in the direction in how web pages are managed using a multi-process model vs multi-thread under one process approach. ... In any case, if the behavior is the same in other browsers then more than likely, its a problem in the registration. ... I have started going through the registry to see if they have done anything different, so far I have noticed a few more Content Type keys/values dotted about the place but tbh I'm not entirely sure they are necessary, more like they put them in there just incase lol! ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Objects not appearing in browser
    ... files that you have changed recently, and do a system restore to before you ... in the registry, but I don't know how to fix it. ... "DavidF" wrote: ... The browsers I was using at home are AT&T/Yahoo and Internet Explorer. ...
    (microsoft.public.publisher.webdesign)
  • Re: Determine Available Browsers
    ... I want to be able to allow a user to select one of the browsers ... Finally, to access the registry easily from VB6, download the following ... registry functions. ... functionality using the API, plus many other useful classes, such ...
    (microsoft.public.vb.general.discussion)
  • Re: Determine Available Browsers
    ... You can plan for most browsers by checking ... I have Firefox, K-Meleon and Opera installed. ... also check the Uninstall keys. ... I don't know much about accessing the registry by keys etc. ...
    (microsoft.public.vb.general.discussion)
  • Re: How to detect multiple instances of my app?
    ... Haven't we established that writing to HKLM under Vista is unreliable unless ... |>> in some key in the registry. ... | functionality using the API, plus many other useful classes, such ...
    (microsoft.public.vb.general.discussion)