<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>DSOframer接口演示说明</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT LANGUAGE=javascript>
<!--
function command_onclick() {
alert("aaa");
var objFs = new ActiveXObject('Scripting.FileSystemObject');
var strTempPath = objFs.GetSpecialFolder(2);
alert(strTempPath);
alert(strTempPath+"\\1.doc");
document.FramerControl1.Save(strTempPath+"\\1.doc",true);
}
function FramerControl1_NotifyCtrlReady() {
//alert("事件 NotifyCtrlReady 触发 ");
document.FramerControl1.CreateNew("Word.Document");
}
function abc()
{
document.FramerControl1.Save("strTempPath+"\\1.doc",true)
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="javascript" FOR="FramerControl1" EVENT="NotifyCtrlReady">
<!--
FramerControl1_NotifyCtrlReady();
//-->
</SCRIPT>
</head>
<body>
<TABLE bgColor="#0000FF" border="0" cellPadding="4" cellSpacing="1" width="98%">
<FORM action="#" method="post" name="form1" >
<TR bgColor=#ffffff>
<TD align=center><div align="left">
<INPUT type="button" value="执行" name="command" onClick="return command_onclick()" />
<input type="button" name="Submit" onClick="abc()" value="另存为">
</div></TD>
</TR>
<TR bgColor=#ffffff >
<TD width="100%" height="100%" align=center >
<object classid="clsid:00460182-9E5E-11d5-B7C8-B8269041DD57" CodeBase= Dsoframer.ocx#Version=2,0.0,4
id="FramerControl1" width="800" height="500">
<param name="BorderStyle" value="1">
<param name="Titlebar" value="0">
<param name="TitlebarColor" value="52479">
<param name="TitlebarTextColor" value="0">
<param name="Menubar" value="1">
</object>
</TD>
</TR>
</FORM></TABLE>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
WORD文档.rar (4个子文件)
存储WORD文档
dsoframer 示例
dsoframer.ocx 220KB
接口演示.htm 2KB
dsoframer.ocx 127KB
接口演示.htm 2KB
共 4 条
- 1
资源评论
xm_bluesky
- 粉丝: 8
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功