Public Function SizeFile( _
ByVal vFileName As Variant _
) As Variant StringToFile("This.", "Temp.Tmp") = True
SizeFile("Temp.Tmp") = 5
SizeFile("Temp.Two") = -1See also: FileLen Function (Visual Basic)vFileName: Name of the file whose size is to be returned. Function returns Null if vFileName is Null or cannot be fixed-up to a String. Function returns -1 if vFileName does not exist or there is some other error determining its size.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.