日期:2014-05-17  浏览次数:20922 次

求助Word转换Html!
网页上有个链接,点击这个链接后,打开服务器上的WORD文件,使WORD以HTML形式显示在网页中


------解决方案--------------------
DOC2HTML是格程序,不是软件 

<HTML> 
<HEAD> 
<script language=javascript> 
function saveword(){ 
var oWordApp=new ActiveXObject( "Word.Application "); 
var oDocument=oWordApp.Documents.Open( "C:\\doc2html\\x.doc "); 
oDocument.SaveAs( "C:\\test.htm ", 8) 
oWordApp.Quit(); 

</script> 
</HEAD> 
<BODY> 
Click the "save " button to save the file "C:\test.doc " to "C:\test.htm ": 
<input type=button onclick= "saveword() " value=save> 

</BODY> 
</HTML>