代码改变世界

zk中引入Activex

2012-01-11 16:05  OOA  阅读(309)  评论(0编辑  收藏  举报

ZK and activeX object

Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4762625
By: sayilir
Hi ;
I want to use some activeX object in my web page.is anybody try to do this?
Is it possible to use activeX object in my zul page? and how can I control some functions of object

Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4764731
By: rmaugusto
You can use:
<window xmlns:h="http://www.w3.org/1999/xhtml">
<h:a href="#">Html tags</h:a>
<h:OBJECT ID="Cmd1" CLASSID="clsid:0BA686B4-F7D3-101A-993E-0000C0EF6F5E">
<h:PARAM NAME="Caption" VALUE="Clique-me" /> </h:OBJECT> </window>
or
<window >
<html>
<h4>Html tags!</h4>
<OBJECT ID="Cmd1" CLASSID="clsid:0BA686B4-F7D3-101A-993E-0000C0EF6F5E">
</OBJECT>
</html>
</window>
This way you have to replace < by < and > by >
Ricardo M. Augusto

摘自(http://www.zkoss.org/forum/listComment/4454