Solved

ActiveX

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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…

705 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

23 Experts available now in Live!

Get 1:1 Help Now