Solved

VBScript

Posted on 1998-06-11
3
320 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 20 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

706 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now