ActiveX设置问题 [英] ActiveX setup Problem

查看:60
本文介绍了ActiveX设置问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我有一个Activex控件,可以像msn样式一样通知用户.
我已经使用cabarc.exe以及Visual Studio安装和部署项目生成了.cab文件.这两个.cab文件都可以工作,但是有一个我无法弄清的问题.

我在主页上放置了html代码

Hi All!

I''ve activex control that notifies user like msn style.
I''ve generated .cab file using cabarc.exe and visual studio setup and deployment project. Both .cab files works but there is a problem which i cant figure out.

I placed a html code in my masterpage

<br />
   <object classid="clsid:dcf0768D-ba7a-101a-b57a-0000c0c3ed5f" codebase="http://10.10.10.16/time.cab#Version=1,0,0,0"<br />
        align="CENTER" width="270" height="26" id="T1"><br />
        <param name="Interval" value="1000"><br />
        <param name="Enabled" value="1"><br />
    </object><br />



问题是;

首先,我先浏览IE询问我的页面,以安装Activex控件.我按是"并安装了控件(我对此不太了解)

而且每个回发IE都会问我同样的问题.我该如何预防?
我可以在IE中安装的插件中​​看到我的activex.

我正在Windows 7和VS 2008 .Net Framework 3.5中使用IE8.

我希望我能解释我的问题.
p.s.对不起,英语不好.



The problem is;

First i prewiev the page, the IE asking me, to install the activex control. I hit yes and control is installed(i''m not shure about it)

And every postback IE asking me same question. How i prevent this?
And i can see my activex, in installed addons in IE.

I''m using IE8 with windows 7 and VS 2008 .Net Framework 3.5.

i wish i hope explain my problem.
p.s. sorry for the bad english.

推荐答案

我怀疑您需要将IE的首选项设置为较不安全,以便它不会每次都询问.让您的控制权由信誉良好的机构签署可以解决此问题.
I suspect that you need to set IE''s preferences to be less secure, so that it doesn''t ask every time. Having your control signed by a reputable authority may resolve the issue.


这篇关于ActiveX设置问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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