dcsimg
July 18, 2018
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.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.

Sitemap

Thanks for your registration, follow us on our social networks to keep up-to-date