册了一下,确实不行,楼主画要不要把间的html发出来看一下
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function button1_onclick() {
document.aaa.ThumbCtl1.displayFile("c:/a.bmp"
;
if (bRet) {
alert("成功"
;
}
//ebViewFolderIcon31.
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<form name=aaa>
<P><INPUT id=button1 type=button value=Button name=button1 LANGUAGE=javascript onclick="return button1_onclick()">
<OBJECT id=ThumbCtl1
data=data:application/x-oleobject;base64,AABlcajo0hGWUgDAT8MIcQADAADYEwAA2BMAAA==
classid=clsid:71650000-E8A8-11D2-9652-00C04FC30871 VIEWASTEXT></OBJECT>
</P>
</form>
</BODY>
</HTML>
他好像只有OnThumbnailRead方法,我的环境是2003
但是在VB里面却正常
Private Sub Command1_Click()
ThumbCtl1.displayFile "c:/a.bmp"
End Sub