62,074
社区成员
发帖
与我相关
我的任务
分享
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
function cli() {
//打开制定的本地文件
document.all.FramerControl1.Open("C:\\TestBook.xls", false, "Excel.Sheet");
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="button" value="1" onclick="cli();" />
</div
<div style="z-index:100">
<OBJECT id="FramerControl1" codeBase="dsoframer.ocx#version=2,3,0,0'" height="100%" width="99%" classid="clsid:00460182-9E5E-11D5-B7C8-B8269041DD57">
<param name="BorderStyle" value="1">
<param name="TitlebarColor" value="52479">
<param name="TitlebarTextColor" value="0">
<param name="Menubar" value="0">
<param name="Titlebar" value="0">
<param name="Toolbars" value="0">
</OBJECT>
</div>
</form>
</body>
</html>