..


Sponsored Links

Close

The Close method of 'TextStream closes a file opened through TextStream.






 dim fs, f









 'I create an instance of the FSO

 





 Set fs = Server.CreateObject ("Scripting.FileSystemObject")

 







 'I open the file with the object TextSteam







 Set F = fs.CreateTextFile ("c: \ test.txt", true)









 'I write one line of text

 





 f.WriteLine ("Hello World!")









 'I close the file







 f.close









 'I cleaned







 Set F = nothing







 Set fs = nothing



In the same category ...
E-Learning
ASP (Advanced) ASP (Advanced)
Full course for creating dynamic Web sites. From 39 €.
ASP Zero (Ebook) ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €.
ASP and Access (Ebook) ASP and Access (Ebook)
Managing a MS Access database with ASP. At only 29 €.
Sponsored Links