Solved

VBScript

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to set the sa password in a vb6 code for sql connection 9 55
using web browser with BING 40 122
VBA Shell can't Find Word document 11 94
Export Data to Different .csv Files 26 105
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

803 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