Solved

ActiveX

Posted on 2003-10-27
2
313 Views
Last Modified: 2010-05-18
Hello experts,

I made an ActiveX that cleans the windows clipboard, but i want to know if the browser can execute it (check the browser capabilities about ActiveX).

I have checked in Jscript something like: navigator.cookieEnabled, but nothing about check ActiveX enabled.

Can we help me?

Thanx,

Jmvm
0
Comment
Question by:jmvalverdemejia
[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
2 Comments
 
LVL 8

Expert Comment

by:fozylet
ID: 9629394
Activex won't be executed like javascript.
It will require permission from user before it is downloaded and executed.

if you need to detect activex compatibility, please see browserhawk at
http://www.devarticles.com/art/1/82/2 or http://www.cyscape.com/

0
 
LVL 15

Accepted Solution

by:
VincentPuglia earned 125 total points
ID: 9630352
Hi,

  fozylet states, ActiveX objects require downloading or existence.  Therefore,
you can do something like:

<script>
try {
 x = new ActiveXObject("myObject")
// etc.....
} catch (error) {
  alert('no activeX')
}
</script>

Vinny
0

Featured Post

Technology Partners: 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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

690 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