【www.gdgbn.com--常见问题】

1.图片显示控制:
<script language="JavaScript">

</script>
调用格式:
2.用asp把doc转换成html
doc2html.vbs
"**********************************************************
"
" 调用方法:doc2html c:doc2html c:doc2html
" 调用方法:doc2html -s c:doc2htmla.doc c:doc2html
"
"**********************************************************
Dim Objword
Dim Objdoc
Dim Objfso
Dim Strsource
Dim Strtarget
Dim Bbatch
"得到命令行参数,有三种可能的格式:[-s] 要进行转换的源文件目录或文件 转换成Html文件后保存的目录
Function Getparams()
Dim Objarg
If Wscript.Arguments.Count >= 2 Then
If Wscript.Arguments.Item(0) = "-s" Or Wscript.Arguments.Item(0) = "-S" Then
Strsource = Wscript.Arguments.Item(1)
Strtarget = Wscript.Arguments.Item(2)
Bbatch = False
Else
Strsource = Wscript.Arguments.Item(0)

本文来源:http://www.gdgbn.com/jiaocheng/2792/