在activex里面控制web的提交吗?怎么做?
我的代码
左边的桢
<!--
<OBJECT classid="CLSID:0C89DB40-685F-4E5E-B298-AAD51B36A000" codebase="fileup.CAB#version=1,0,0,0"
id=fileup style="LEFT: 0px
TOP: 0px" VIEWASTEXT>
<PARAM NAME="_ExtentX" VALUE="9657">
<PARAM NAME="_ExtentY" VALUE="10716"></OBJECT>
-->
<script>
右边桢的调用代码
window.top.leftframe.fileup.ftp_host = "<%=FtpHost%>";
window.top.leftframe.fileup.ftp_port = "<%=Ftpport%>";
//window.top.leftframe.fileup.HttpHost = "<%=HttpHost%>";
//window.top.leftframe.fileup.HttpSavePath ="<%=HttpSavePath%>"
//window.top.leftframe.fileup.FtpSavePath="<%=FtpSavePath%>"
window.top.leftframe.fileup.ftp_username="<%=FtpUsrName%>"
window.top.leftframe.fileup.ftp_password="<%=FtpPassword%>"
window.top.leftframe.fileup.fileno=<%=fileno%>;
window.top.leftframe.fileup.imgno=<%=imgno%>;
window.top.leftframe.fileup.sysyear="<%=year(now())%>";
window.top.leftframe.fileup.sysmonth="<%=right("00"&month(now()),2)%>";
window.top.leftframe.fileup.sysday="<%=right("00"&day(now()),2)%>";
这里是执行一个上传文件的过程,能否在这里等着执行完了再执行下面的叶面提交功能?
fileno=window.top.leftframe.fileup.fileup();
window.Form1.action="post.asp?action=Msg&method=Add" + "&filename=" + window.top.leftframe.fileup.ServerFileName + "&subjectid=" + subjectid + "&fileno=" + fileno;
Form1.submit();