首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VB >

IE中的activex控件,在VB里引用,该怎么解决

2012-01-14 
IE中的activex控件,在VB里引用object idWebPlayer width640 height480 classidCLSID:BB899B43

IE中的activex控件,在VB里引用
<object id="WebPlayer" width="640" height="480" classid="CLSID:BB899B43-24BD-5A6B-BBDS-45557D8D11E0" VIEWASTEXT> 
<param name="_Version" value="65536"> 
<param name="_ExtentX" value="10583"> 
<param name="_ExtentY" value="10583"> 
<param name="_StockProps" value="0"> 
</object> 

<script language="JScript"> 

WebPlayer.ServerMode = "2"; 
WebPlayer.UserName = "清寒"; 
WebPlayer.UserID = "25000"; 
WebPlayer.PlayMode = "1"; 

WebPlayer.Width = 322; 
WebPlayer.Height = 320; 
WebPlayer.Start(); 

</script> 

IE中有一个activex控件WebPlayer;在IE里调用如上,结果正常执行 
要把这个控件放在VB里调用 该怎么做,具体一点,谢谢解答!

[解决办法]
怎么用来了啊, 用工具查一下导出函数!

热点排行