关于JSP中使用OCX控件的问题--急
大家好!
我的项目中需要用到扫描仪!所以我想在JSP中调用WIN2000中系统中自带的IMAGSCAN.ocx控件。不知能不能实现。
请各位指点!
多谢!
[解决办法]
<OBJECT Id = "imagescan " classid= "clsid:25949873-1051-468F-8964-513E458C803F "
codebase= "imagescan.cab#version=1,1,2,0 " width=100 height=100 align=center hspace=5 vspace=5>
</OBJECT>
[解决办法]
害我在注册表里找CLSID找半天都没找到,楼主把名字打错了,是IMGSCAN.OCX,不是
IMAGSCAN.ocx
<object classid= "CLSID:64455860-5153-101C-816F-0E6013114B7F " ID= "scanCtrl " width=50 height=50>
<param name= "image " value= "d:\110011.tif ">
<param name= "scanto " value= "1 ">
<param name= "multipage " value= "1 ">
</OBJECT>
<input type= "button " name= "scan " value= "扫 描 ">
<script for= "scan " event= "onClick " language= "VBScript ">
scanctrl.StartScan
</script>
[解决办法]
可以通过applet调用twain.dll去实现图像的扫描