asp_web_howto thread: convert .asp files to .htm
Does anyone knows how to convert an .asp file to a .html? I know Xbuilder, but I'm not realy willing to purchase something that I'll use once in a lifetime... :( Thanks.
Just Use the FileSystemObject. it will cost you a few lines like this:
Dim fso, MyFile, StrHTML
StrHTML = "<HTML><h2>www.waltersworld.nl</h2></HTML>"
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile = fso.CreateTextFile("c:\test.html", True)
MyFile.WriteLine(StrHTML)
MyFile.Close
Just try it
|





