Check Browser Capability Using the ASP BrowserType Object
Category:
ASP, HTML and XMLType:
SnippetsDifficulty:
BeginningAuthor:
Intelligent Solutions Inc.Version Compatibility: ASP
More information:
This function checks the browser to see if it support capabilities such as tables, frames, cookies, java, etc. It uses the ASP BrowserType object, which works by reading the Browscap.ini file, usually found in the inetsrv directory under the system path. One disadvantage of this method is that when a new browser is released, this file may need to be updated. However, it is not difficult to manully update this file, and Microsoft should release new versions of it when necessary.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: