注册ActiveX控件?
写了一个ActiveX控件,不会提供下载,请教大家:
一个:ShineMMSWord.ocx文件
一个:ShineMMSWord.INF文件
组成一个cab 文件:
-》ShineMMSWord.INF:
[version]
; version signature (same for both NT and Win95) do not remove
signature="$CHICAGO$"
AdvancedINF=2.0
[Add.Code]
ShineMMSWord.ocx=ShineMMSWord.ocx
; needed dll
[ShineMMSWord.ocx]
file-win32-x86=thiscab
RegisterServer=yes
clsid={1371A3A7-920D-450D-8E4B-A0D821888762}
FileVersion=1,0,0,0
一个html上写:
<OBJECT ID="UserControl1"
CLASSID="CLSID:A629566C-3F06-4B37-A26D-E13FEBF8C696"
CODEBASE="ShineMMSWord.cab#version=1,0,0,0">
</OBJECT>
可是控件下载到客户端,就是不能注册:
为什么?