?
Solved

VBScript

Posted on 1998-06-11
3
Medium Priority
?
333 Views
Last Modified: 2010-05-03
Hi,

  How can I use VBScript to detect the browser that I am using .
0
Comment
Question by:pcseah
3 Comments
 
LVL 1

Expert Comment

by:Cardo
ID: 1463179
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
 

Expert Comment

by:therok
ID: 1463180
If you are looking for the browser name in a CGI script, you can get it in the enviroment HTTP_USER_AGENT.


0
 

Accepted Solution

by:
dyna112397 earned 80 total points
ID: 1463181
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question