再次开贴提问,不相信在csdn里面,这个问题都得不到解决
<H1> C++Builder 6 ActiveX Test Page </H1>
You should see your C++Builder 6 forms or controls embedded in the form below.
<OBJECT
id=cbb
classid="clsid:5957A09B-CD24-4B61-ACF8-56C2A3F48238"
codebase="http://192.168.0.19/ActiveRegProj1.inf"
width=350
height=250
align=center
hspace=0
vspace=0
>
<PARAM NAME="URLpath" VALUE="eWaterInstaller.exe">
</OBJECT>
<form>
<input TYPE="button" VALUE="进入" onClick="startinstaller()">
</form>
<script LANGUAGE=JavaScript>
function startinstaller()
{
alert(cbb.URLpath);
}
</script>
代码如上,我想运行startinstaller()的时候,会弹出对话框,上面会显示
eWaterInstaller.exe。但是弹出的对话里面,却显示的是undefined,应该怎么
来修改解决呢?
还有就是,大家在回复以前,看一下修改以后自己的机子,能够正确显示那个字符串吗