ActiveX安装到浏览器 [英] ActiveX Installation to browser

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

问题描述

大家好,



我用com组件创建了一个activeX。

我可以成功地完成它。

我还创建了msi文件,它在系统中注册了我的activeX dll。



现在我希望我的浏览器在系统中注册我的activeX dll。

或者我的浏览器提示我进行设置安装,这将自动注册我的activeX。



我已经创建了我的cab文件,其中包含msi和inf文件

详细信息如下



inf文件详情..



[版本]

signature =$ CHICAGO $

AdvancedINF = 2.0

[设置挂钩]

hook1 = hook1



[hook1]

run = msiexec.exe / i%EXTRACT_DIR%\AdstringoSetup.msi/ qn





注册和安装我的msi文件的Html代码

< object name =secondobjstyle ='display: none'id ='TestActivex'

classid =CLSID:121C3E 0E-DC6E-45dc-952B-A6617F0FAA32

codebase =OurActiveX.cab#version = 1,0,0,0>< / object>



请帮助我解决这个问题,因为我将在5天左右挣扎。



引用

http:/ /www.codeproject.com/Articles/19614/Downloading-C-ActiveX-Components-through-CAB-File



http://www.dreamincode.net/论坛/主题/ 38890-activex-with-c%23 /



http://www.codeproject.com/Articles/24089/Create-ActiveX-in- NET-Step-by-Step





问候,

SUNIL MALI。

解决方案

CHICAGO




AdvancedINF = 2.0

[安装挂钩]

hook1 = hook1



[hook1]

run = msiexec.exe / i%EXTRACT_DIR%\AdstringoSetup。 msi/ qn





注册和安装我的msi文件的Html代码

< object name = secondobjstyle ='display:none'i d ='TestActivex'

classid =CLSID:121C3E0E-DC6E-45dc-952B-A6617F0FAA32

codebase =OurActiveX.cab#version = 1,0,0 ,0>< / object>



请帮助我解决这个问题,因为我将在5天左右挣扎。



引用

http://www.codeproject.com/Articles/19614/Downloading-C-ActiveX-Components-through-CAB-File



http://www.dreamincode.net/forums/topic/38890-activex-with-c%23/



http: //www.codeproject.com/Articles/24089/Create-ActiveX-in-NET-Step-by-Step





问候,

SUNIL MALI。


参考



http://dotnetslackers.com/articles/csharp/WritingAnActiveXControlInCSharp.aspx [ ^ ]


提示安装-activex-not-showing [ ^ ]

Hi all,

I have created one activeX using com Component.
I could do it succesfully.
I have also created msi file which register my activeX dll in system.

Now i want my browser to register my activeX dll in system.
Or my browser to prompt me for setup installation which will automatically register my activeX.

I have already created my cab file which has msi and inf file
details are as follows

inf file details..

[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[Setup Hooks]
hook1=hook1

[hook1]
run=msiexec.exe /i "%EXTRACT_DIR%\AdstringoSetup.msi" /qn


Html code to register and install my msi file
<object name="secondobj" style='display:none' id='TestActivex'
classid="CLSID:121C3E0E-DC6E-45dc-952B-A6617F0FAA32"
codebase="OurActiveX.cab#version=1,0,0,0"></object>

Kindly help me fix this as i am struggling nearly from 5 days.

references
http://www.codeproject.com/Articles/19614/Downloading-C-ActiveX-Components-through-CAB-File

http://www.dreamincode.net/forums/topic/38890-activex-with-c%23/

http://www.codeproject.com/Articles/24089/Create-ActiveX-in-NET-Step-by-Step


Regards,
SUNIL MALI.

解决方案

CHICAGO


"
AdvancedINF=2.0
[Setup Hooks]
hook1=hook1

[hook1]
run=msiexec.exe /i "%EXTRACT_DIR%\AdstringoSetup.msi" /qn


Html code to register and install my msi file
<object name="secondobj" style='display:none' id='TestActivex'
classid="CLSID:121C3E0E-DC6E-45dc-952B-A6617F0FAA32"
codebase="OurActiveX.cab#version=1,0,0,0"></object>

Kindly help me fix this as i am struggling nearly from 5 days.

references
http://www.codeproject.com/Articles/19614/Downloading-C-ActiveX-Components-through-CAB-File

http://www.dreamincode.net/forums/topic/38890-activex-with-c%23/

http://www.codeproject.com/Articles/24089/Create-ActiveX-in-NET-Step-by-Step


Regards,
SUNIL MALI.


Refer

http://dotnetslackers.com/articles/csharp/WritingAnActiveXControlInCSharp.aspx[^]

prompt-to-install-activex-not-showing[^]


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

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