在VB中
Dim oWord As Object
Dim oDocument As Object
Set oWord = CreateObject("Word.Application")
Set oDocument = oWord.Documents.Open(strWordFileName, False, True) oDocument.SaveAs strHTMLFileName, wdFormatHTML
FunWordToHTML = strHTMLFileName
oDocument.Close Savechanges:=wdDoNotSaveChanges
oWord.Quit False
Set oDocument = Nothing
Set oWord = Nothing调试通过!但是但是我把生成DLL之后在ASP中调用出错!
---------------
找不到服务器或发生 DNS 错误
Internet Explorer 怎么办?
Dim oWord As Object
Dim oDocument As Object
Set oWord = CreateObject("Word.Application")
Set oDocument = oWord.Documents.Open(strWordFileName, False, True) oDocument.SaveAs strHTMLFileName, wdFormatHTML
FunWordToHTML = strHTMLFileName
oDocument.Close Savechanges:=wdDoNotSaveChanges
oWord.Quit False
Set oDocument = Nothing
Set oWord = Nothing调试通过!但是但是我把生成DLL之后在ASP中调用出错!
---------------
找不到服务器或发生 DNS 错误
Internet Explorer 怎么办?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货