Latest web development tutorials

ASP Close method

TextStream Object Reference Complete TextStream Object Reference

Close method Closes an open TextStream file.

grammar

TextStreamObject.Close

Examples

<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateTextFile("c:\test.txt",true)
f.WriteLine("Hello World!")
f.Close
set f=nothing
set fs=nothing
%>


TextStream Object Reference Complete TextStream Object Reference