为什么http://www.csdn.net/subject/15/这页不能显示啊,我想看看这页资料(在线)

mhpdongxie 2004-05-05 05:01:20
有谁知道怎么读出WORD的内容,再将其显示在网页中的方法,最好有代码
拜托了
...全文
74 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
Jaron 2004-05-06
  • 打赏
  • 举报
回复
已更新过此页,再试一次。
whghwujx 2004-05-06
  • 打赏
  • 举报
回复
呵呵,可以看的啊!偶用的是NETSCAPE,不过IE应该也没有问题吧,楼主再试试啦!
diveas 2004-05-05
  • 打赏
  • 举报
回复
你还想看什么???可以帮你就帮你!!
diveas 2004-05-05
  • 打赏
  • 举报
回复
你说的这页就是这些内容!!!
diveas 2004-05-05
  • 打赏
  • 举报
回复
Word,Excel及Office相关内容




在ASP中操作WORD,EXCEL及其它Office的内容.



其它

在网页上使用MSChart [论坛]



Excel

在ASP中如何合并Excel中的单元格 [论坛]


怎样使用ASP将SQL中的数据读数存成一个EXCEL文件? [论坛]


怎样用select语句读excel表 [论坛]


使用ASP利用excel的模板生成excel文件 [论坛]


用ADO讀出EXCEL文件里的SHEET的個數 [论坛]


EXCEL.APPLICATION对象无法释放 [论坛]



WORD

在ASP中编辑WORD并保存到服务器,使用服务器上模板新建WORD文件,编辑服务器上的WORD模板 [论坛]


怎样做WORD文档的连接,让别人只能下载,不激活IE或WORD软件 [论坛]


如何从WORD文档中直接将其内容读出 [论坛]

reidli 2004-05-05
  • 打赏
  • 举报
回复
http://www.csdn.net/expert/topic/387/387688.xml
reidli 2004-05-05
  • 打赏
  • 举报
回复
1. if the user has MSWord installed, you can try
<%
response.ContentType="application/x-msword"

Const adTypeBinary = 1
Dim strFilePath

strFilePath = "c:\mainmenu.doc"

Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open
objStream.Type = adTypeBinary
objStream.LoadFromFile strFilePath

Response.BinaryWrite objStream.Read

objStream.Close
Set objStream = Nothing
%>

of course, you can also save the binary stream to the database instead of Response.BinaryWrite

2. you could also use the "Word.Application" component on the server to load the document, save it as a html file and send the html file over to the user
sfply 2004-05-05
  • 打赏
  • 举报
回复
看过了
空内容
hoho

28,409

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧