社区
Office开发/ VBA
帖子详情
应用dsoFramer.ocx出现the associated COM server does not support ActiveX Document emb
lixianrong890611
2012-05-28 01:13:35
应用dsoFramer.ocx出现the associated COM server does not support ActiveX Document embedding错误.
在线打开xls 文件 无法断开,就报这个错误。但是可以打开word。
...全文
1100
7
打赏
收藏
应用dsoFramer.ocx出现the associated COM server does not support ActiveX Document emb
应用dsoFramer.ocx出现the associated COM server does not support ActiveX Document embedding错误. 在线打开xls 文件 无法断开,就报这个错误。但是可以打开word。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
lixianrong890611
2012-05-28
打赏
举报
回复
[Quote=引用 6 楼 的回复:]
新装的系统也是win7?
[/Quote]
嗯,是的
dsd999
2012-05-28
打赏
举报
回复
新装的系统也是win7?
lixianrong890611
2012-05-28
打赏
举报
回复
[Quote=引用 3 楼 的回复:]
把打开xls那段代码贴出来。
[/Quote]
应该不是代码问题,我重新装了下系统就不行了,之前用的Win7 系统就可以。
lixianrong890611
2012-05-28
打赏
举报
回复
JS
window.open('ShowExcel/DayReport.aspx?date=' + date + '&type=true', 'report');
DayReport.aspx 页面
<script language="javascript" type="text/javascript">
var dsoFramer = {
of: null,
openDoc: function() {
dsoFramer.of.ShowDialog(1);
},
openWebDoc: function() {
var url = window.prompt("web file:", "http://");
dsoFramer.of.Open(url, true);
},
printDoc: function() {
dsoFramer.of.PrintOut();
},
setMenubar: function(visible) {
dsoFramer.of.Menubar = visible;
},
setToolbars: function(visible) {
dsoFramer.of.Toolbars = visible;
},
save: function(address) {
dsoFramer.of.Save(address);
},
saveToServer: function(addr) {
dsoFramer.of.HttpInit();
dsoFramer.of.HttpAddPostString("date", '<%=Date %>');
dsoFramer.of.HttpAddPostCurrFile("fileName", "rename");
alert(dsoFramer.of.HttpPost(addr));
}
};
function btnSave_click() {
dsoFramer.saveToServer('<%=ApplicationPath %>ProductionDispatch/Uploads/HistoryDayReportUpload.aspx');
}
window.attachEvent("onload", function() {
window.focus();
dsoFramer.of = document.getElementById("oframe");
var addr = "<%=ApplicationPath %>ProductionDispatch/Downloads/DownloadDayReport.aspx?<%=QueryString %>";
if (addr != "")
dsoFramer.of.Open(addr, true);
// dsoFramer.setMenubar(true);
// dsoFramer.setToolbars(true);
window.focus();
})
</script>
<table class="full table" cellpadding="0" cellspacing="0">
<tr>
<td height="20">
<div style="display: none" class="vm">
<input type="button" class="sbutton vm" value="打印" onclick="dsoFramer.printDoc();" />
<input type="button" class="sbutton vm" value="刷新" onclick="location=location" />
<input type="checkbox" onclick="dsoFramer.setMenubar(this.checked)" id="cbShowMenubar"
checked="checked" class="vm" />
<label for="cbShowMenubar" class="vm">
显示菜单栏</label>
<input type="checkbox" onclick="dsoFramer.setToolbars(this.checked)" id="cbShowToolbars"
checked="checked" class="vm" />
<label for="cbShowToolbars" class="vm">
显示工具栏</label>
</div>
<span class="vm">
<%=Date.ToString("yyyy年MM月dd日") %>生产完成情况 </span>
<input type="button" id="btnSave" onclick="btnSave_click()" value="保存日报表" />
</td>
</tr>
<tr>
<td>
<object classid="clsid:00460182-9E5E-11d5-B7C8-B8269041DD57" id="oframe" name="oframe"
class="full" codebase="../../Resources/dsoframer.ocx#Version=2,3,0,1">
<param name="BorderStyle" value="0" />
<param name="TitlebarColor" value="52479" />
<param name="TitlebarTextColor" value="0" />
<param name="Menubar" value="1" />
<param name="Titlebar" value="0" />
<param name="Toolbars" value="0" />
</object>
</td>
</tr>
</table>
dsd999
2012-05-28
打赏
举报
回复
把打开xls那段代码贴出来。
lixianrong890611
2012-05-28
打赏
举报
回复
the associated COM server does not support ActiveX Document embedding相关的服务器不支持文件嵌入
lixianrong890611
2012-05-28
打赏
举报
回复
在线无法打开xls 文件,但是却可以打开word
打开xls文件是,就报下面这错误
the associated COM server does not support ActiveX Document embedding
dso
frame
r.
ocx
控件最新版支持office2016
dso
frame
r.
ocx
控件最新版支持office2016,包含使用说明。有效解决高版本word嵌入winform时,word直接打开的烦恼。
Dso
Frame
r.
ocx
接口及说明
Dso
Frame
r.
ocx
接口及说明 word在线编辑,加密,书签,等2. HRESULT Open([in] VARIANT
Document
, [in, optional] VARIANT ReadOnly, [in, optional] VARIANT ProgId, [in, optional] VARIANT WebUsername, [in, ...
dso
frame
r.
ocx
2.3.0.2
dso
frame
r.
ocx
2.3.0.2 目前最细版本 本exe为静默安装,双击无反应属于正常现象,可使用360压缩,解压exe获取里面对应的
ocx
dso
frame
r.
ocx
控件以及使用方法
dso
frame
r.
ocx
控件以及使用方法
dso
frame
r.
ocx
2.3.0.2版本
dso
frame
r.
ocx
2.3.0.2版本,在win10环境下,vs2013中测试office2016通过。
Office开发/ VBA
5,139
社区成员
17,886
社区内容
发帖
与我相关
我的任务
Office开发/ VBA
其他开发语言 Office开发/ VBA
复制链接
扫一扫
分享
社区描述
其他开发语言 Office开发/ VBA
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章