Solved

VBScript

Posted on 1998-06-11
3
327 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

717 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