帮帮忙吧,有没有人用过这个?
ExpressViewerSetup_CHS.exe安装完以后用来显示dwf格式的文件
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=3523518
我要实现从数据库里把dwf格式的文件读出来进行显示
我的方法页面a.asp
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>图</title>
</head>
<body>
<OBJECT id=AdViewer1 style="WIDTH: 1000px; HEIGHT: 600px"
classid=clsid:A662DA7E-CCB7-4743-B71A-D817F6D575DF VIEWASTEXT>
<PARAM NAME="_cx" VALUE="17595">
<PARAM NAME="_cy" VALUE="13864">
<PARAM NAME="BackColor" VALUE="7895160">
<PARAM NAME="EmbedDoc" VALUE="0">
<PARAM NAME="Src" VALUE="showimg.asp">
<PARAM NAME="ViewerParams" VALUE="">
</OBJECT>
</body>
</html>
----------------------------------------------------------
showimg.asp页面
cn是连接的数据库
-----------------------------------------------------
<%Set objRs=Server.CreateObject("ADODB.Recordset")
strsql="select * from GE04 WHERE TJMC='g11'"
objRs.open strsql,cn,1,1
Response.ContentType="*/dwf"
Response.BinaryWrite objRs("CJXDT").GetChunk(7500000)
objRs.close
set objRs=nothing
set cn=nothing
%>
数据能够读出来就是不能够显示
Response.ContentType="*/dwf"这里应该怎么填写??
我这种方法能够实现吗?
谢谢帮助!!!非常着急----在线等!!