G
Guest
Hello, friends,
A very simple code as follows, but got an error: Microsoft JScript runtime
error: 'BHnz1' is undefined.
Any ideas? Thanks a lot.
-----------------
<body MS_POSITIONING="GridLayout" onload="initCOMComponent();" >
<form id="Form1" method="post" runat="server">
<OBJECT id="BHnz1" name="BHnz1" style="Z-INDEX: 101; LEFT: 136px; TOP:
64px" classid="clsid:60EB3120-469D-5E79-839D-AB53DA2DF932"
VIEWASTEXT>
<PARAM NAME="_ExtentX" VALUE="8625">
<PARAM NAME="_ExtentY" VALUE="9155">
</OBJECT>
</form>
<script language="javascript">
function initCOMComponent()
{
BHnz1.GetBinaryDataFile("test.dat");
}
</script>
</body>
A very simple code as follows, but got an error: Microsoft JScript runtime
error: 'BHnz1' is undefined.
Any ideas? Thanks a lot.
-----------------
<body MS_POSITIONING="GridLayout" onload="initCOMComponent();" >
<form id="Form1" method="post" runat="server">
<OBJECT id="BHnz1" name="BHnz1" style="Z-INDEX: 101; LEFT: 136px; TOP:
64px" classid="clsid:60EB3120-469D-5E79-839D-AB53DA2DF932"
VIEWASTEXT>
<PARAM NAME="_ExtentX" VALUE="8625">
<PARAM NAME="_ExtentY" VALUE="9155">
</OBJECT>
</form>
<script language="javascript">
function initCOMComponent()
{
BHnz1.GetBinaryDataFile("test.dat");
}
</script>
</body>