如何注册ocx控件

如何注册ocx控件

 

1、假设要注册的控件是 jjyc.ocx

2、将jjyc.ocx复制到system下

3、运行命令:
      regsvr32.exe jjyc.ocx 或:c:\windows\system\regsvr32.exe jjyc.ocx
4、删除控件:
     c:\windows\system\regsvr32.exe /u jjyc.ocx