Click here to Skip to main content
14,690,522 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i'm confusing there is any possible way to enable activex control in ie using javascript only...for read .csv file client side purpose...
Posted
Comments
Sergey Alexandrovich Kryukov 18-May-12 17:43pm
   
Why would you want it? Just to read .csv? You can do it without ActiveX, or in other way you would like on the server side. Don't use ActiveX, seriously. Bad thing.
--SA

1 solution

Of course it's possible, but you want to avoid it by all means. First, this is Microsoft's proprietary. Who needs to use incompatible stuff, when it comes to the Web? Also, it's very unsafe. A technology-savvy user will never trust a Web page if it uses ActiveX as it can do just about anything to the client system, unlike Java or "pure" JavaScript. ActiveX is only good when it can be 100% disabled in client software.

You can use ActiveX object through the HTML tag <object>.

(Don't do it.)

Please see:
http://www.w3schools.com/web/web_glossary.asp?output=print[^] (locate "ActiveX" entry),
http://www.w3schools.com/jsref/dom_obj_object.asp[^],
http://www.w3schools.com/tags/tag_object.asp?output=print[^],
http://www.w3schools.com/html5/tag_object.asp[^],
http://help.dottoro.com/ljiujjib.php[^].

—SA
   
v2
Comments
Wendelius 18-May-12 17:51pm
   
Yes!
Sergey Alexandrovich Kryukov 18-May-12 18:10pm
   
Thank you, Mika.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900