December 21, 2014
Hot Topics:

Writing Active Server components in Visual Basic

  • April 30, 1998
  • By Thornton Rose
  • Send Email »
  • More Articles »

ASCExample Tester


Class FileIO

Usage: set o = Server.CreateObject("ASCExample.FileIO")

Methods:

  • help() - shows help
  • fileSize(strName) - returns size of named file
  • fileExists(strName) - returns True if named file exists
  • deleteFile(strName) - deletes named file
  • appendLine(strName, strLine) - appends line to file

strLogFileName = c:\temp\test.log
fileExists() => True
fileSize() => 17 bytes

File deleted.
fileExists() => False [end]





Page 2 of 3



Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Sitemap | Contact Us

Rocket Fuel