Solved

ActiveX

Posted on 2003-10-27
2
309 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

930 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

19 Experts available now in Live!

Get 1:1 Help Now