所有浏览器中的activex有多活跃 [英] How active the activex in all browser

查看:107
本文介绍了所有浏览器中的activex有多活跃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我们在C#.net中编写MyActivex.dll并使用以下命令在本地系统中注册:



regasm MyActivex.dll / codebase / tlb



并将其添加到参考asp.net项目并使用IE浏览器在本地系统中正确运行。

但我们面临以下错误:



1-当发布项目并在Windows Server 2014中设置时,每个客户端系统中的IE浏览器不区分MyActivex.dll。在客户端系统中如何激活



2-在chrome和firefox浏览器中显示以下错误在Inspected View中:

不识别':'



我们在脚本代码中使用bellow函数

< object id =   CarRd name =   CarRd classid =   clsid:5dct9479E-1GE5- 4612-86E5-B5556465499 >  < /   object  >  



< script>

函数CarRd :: OnExecute(int x,int y)

{

}

< / script>



非常感谢。



我尝试过:



我们在安全选项卡中为活动ActiveX的Internet Explorer选项设置启用但无法解决。

解决方案

除了IE之外,你不能在我知道的任何浏览器中使用ActiveX控件:Chrome,Firefox或Edge当然不支持它们。即使在IE中,它们也不会默认工作,因为出于安全原因它们被禁用。要启用它们,您必须单独打开每个IE安装的选项(您可以通过组策略启用它,但我从未尝试过)。



基本上,ActiveX控件是一个好主意,实施得很糟糕,并因其成为主要的安全风险而享有当之无愧的声誉。因此,它们在IE中默认禁用,否则不受支持。我不会在我的系统上启用ActiveX很多钱(如果我使用IE,我没有)! :笑:

Hi All

we write the MyActivex.dll in C#.net and register it in local system using following command :

regasm MyActivex.dll /codebase /tlb

and add this to reference asp.net project and run correctly in local system with IE Browser.
but we have face following error :

1- when publish project and set in windows server 2014 , the IE browser in every client system don't distinguish MyActivex.dll .how do active in client system

2- in chrome and firefox browser shows below error in Inspected View :
don't identify ':'

we use bellow function in Script code

<object id="CarRd" name="CarRd" classid="clsid:5dct9479E-1GE5-4612-86E5-B5556465499"></object>


<script>
function CarRd::OnExecute(int x,int y)
{
}
</script>

thanks a lot.

What I have tried:

We set Enable in Internet Explorer Option for active ActiveX in Security tab but doesn't be solved.

解决方案

You cannot use ActiveX controls in any browser that I know of except IE: they certainly aren't supported in Chrome, Firefox, or Edge. Even in IE, they won't work by default as they are disabled for security reasons. To enable them, you would have to individually turn on the option for each IE installation (you may be able to enable it via Group Policies, but I've never tried).

Basically, ActiveX controls were a good idea, badly implemented, and got a well deserved reputation for being a major security risk. As a result, they are disabled by default in IE, and unsupported otherwise. I wouldn't enable ActiveX on my system for quite a lot of money (if I used IE, which I don't)! :laugh:


这篇关于所有浏览器中的activex有多活跃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆