| 发表于:2007-05-14 21:54:553楼 得分:0 |
如果是插入到网页中使用 则先注册此控件 regsvr32 路径下\你的ocx 然后在注册表中搜索此ocx,得到其clsid 即clsid项目的节点名称 然后在网页中要引用的地方加上如下引用: <object classid= "clsid:1051a026-d045-4eb3-8dd5-xxxxxxx " codebase= "http://www.topriches.com/tts.ocx " width=535 height=525 id=windowsmediaplayer1> </object> 请自行替换clsid后面的值 codebase为ocx在网站上的路径 使客户端可以下载安装 id为你给此ocx起的名字 可任意 | | |
|