• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

VBScript

Hi,

  How can I use VBScript to detect the browser that I am using .
0
pcseah
Asked:
pcseah
1 Solution
 
CardoCommented:
Would doing this in JavaScript be acceptable?

Are you looking to see if they are using a particular browser ie Netscape or IE, then checking the version?

Cardo......
0
 
therokCommented:
If you are looking for the browser name in a CGI script, you can get it in the enviroment HTTP_USER_AGENT.


0
 
dyna112397Commented:
Save the following as a html page.  There is a button called show me inside.  Upon clicking it, it will show the browser name.

<html>
<head>
<title>Show Browser</title>
</head>
<body>
<p><input type="submit" name="browser" value="show me"> </p>
</body>
<script Language="VBScript">
sub browser_onClick()
    Msgbox navigator.appName
end sub
</script>
</html>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now