asp生成文本文件函數
function CreateHtml(mCode,mFilePath)
dim objFSO,objFile
set objFSO = server.CreateObject("Scripting.FileSystemObject")
set objFile = objFSO.CreateTextFile(mFilePath,true)
objFile.WriteLine mCode
objFile.close
set objFile = nothing
set objFSO = nothing
end function
dim objFSO,objFile
set objFSO = server.CreateObject("Scripting.FileSystemObject")
set objFile = objFSO.CreateTextFile(mFilePath,true)
objFile.WriteLine mCode
objFile.close
set objFile = nothing
set objFSO = nothing
end function
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
ASP正則表達式收集
haichanglin
2020-07-08 10:27:05
WEB環境中後臺自動上傳文件至數據庫的實現
farfly
2020-07-07 20:25:03
[轉]WEB 打印的相關技術分析
一.自定義控件完成打印 利用IE 自帶的WebBrowser 控件實現打印 利用第三方控件實現打印 1、 自定義控件方式 自定義控件方
asthlon
2020-07-07 06:44:44
[轉貼]Javascript中暫停功能的實現
阿豪2
2020-07-07 05:31:00
ASP文件上傳類
hztgcl1986
2020-07-06 15:25:22
JS與VBS傳遞變量
hztgcl1986
2020-07-06 15:25:22
在WinCE6.0中,添加自定義的工程模板
king_sundi
2020-07-05 22:18:59
基於ASP.NET 2.0 的WEB打印方法
wenle006
2020-07-05 17:48:42
ASP木馬是如何上傳及防範方法
LiceJade
2020-07-05 11:39:41
小VBScript關機程序(小白可入)
zhuhuan_Oracle
2020-07-03 21:50:28
面向對象的 JavaScript 編程
wully_happy
2020-07-03 18:13:06
js自定義提示框
window.confirm = function(str) { //實現換行 str=str.replace(//'/g, "'&chr(39)&'").rep
lizhihui24
2020-07-03 13:23:33