java教本定义(ocx)
<object id= "VC404PCtrl " width= "670 " height= "332 " codebase= "VC4000Setup.exe#version=2,2,5,0 " classid= "CLSID:D0BDF713-AFE5-4FAF-90B2-A866EEBC8968 ">
<param name= "_Version " value= "65536 ">
<param name= "_ExtentX " value= "23813 ">
<param name= "_ExtentY " value= "13705 ">
<param name= "_StockProps " value= "0 ">
</object>
<script language = "javascript ">
VC404PCtrl.nVidSizeX = 670;//图像长
VC404PCtrl.nVidSizeY = 660;//图像宽
VC404PCtrl.nLocalPort = 6000;//本发侦听端口号
VC404PCtrl.nConnectNum = 4; //联接数,最大值为4
VC404PCtrl.strUser1 = "admin ";
VC404PCtrl.strPSW1 = "admin ";
VC404PCtrl.nPort1 = 7000;
VC404PCtrl.strIP1 = "192.168.1.168 ";
VC404PCtrl.nChannel1 = 18;
VC404PCtrl.strUser2 = "admin ";
VC404PCtrl.strPSW2 = "admin ";
VC404PCtrl.nPort2 = 7000;
VC404PCtrl.strIP2 = "192.168.1.168 ";
VC404PCtrl.nChannel2 = 1;
</script>
请教 教本中的 VC404PCtrl 该怎么定义?是什么类型?? 谢谢
------解决方案--------------------up