Getting File Information (Date/Time/Attrib) Help Needed!
Quote:
>Does anyone out there know how to read file specs (creation dates and times,
>attributes, directory size, free drive space, etc...) into a VB program?
>I am using VB v1, but information on VB3 methods are also appreciated.
I'm using VB 3.0 Pro, and it has several of these functions built in.
FileDateTime() takes a file name, returns a Date. FileLen() takes a file name,
returns a Long. FileAttr() takes a file name, returns an Integer bit string.
Getting free drive space is trickier; there are some .DLLs that will do that.
They're available on the 'net, but I'm not sure whether they're freeware,
shareware, or whatever.
Murray Alexander
City of Vancouver
"Do it right, or do it over. Which do you prefer?" - me