Click to See Complete Forum and Search --> : API to detect Browser version
vinoth3556
January 25th, 2006, 02:54 AM
HI
Can anyone help me in detecting browser version. Using InternetQueryOption we can detect IE version similarly I want API which will detect the browser like firefox, mozilla, opera, netscape navigator. Thanks in Advance.
Vinoth.
NoHero
January 25th, 2006, 04:09 AM
You may lookup the documentation of the specified browser though. Maybe you find a version string somewhere in the registry under the key of the browser.
genossa
January 25th, 2006, 07:14 AM
You may also look in these registry keys for the default browser
HKEY_CLASSES_ROOT\.htm
HKEY_CLASSES_ROOT\.html
HKEY_CLASSES_ROOT\http\shell\open\command
HKEY_CLASSES_ROOT\http\shell\open\ddeexec\Application
HKEY_CLASSES_ROOT\ftp\shell\open\command
HKEY_CLASSES_ROOT\ftp\shell\open\ddeexec\Application
or by calling FindExecutable (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/findexecutable.asp) for existing .htm or .html file.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.