Getting File Information (Date/Time/Attrib) Help Needed! 
Author Message
 Getting File Information (Date/Time/Attrib) Help Needed!

Hi.

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.


        Thanx in advance,
                        Dennis J. Bell



Sun, 28 Sep 1997 03:00:00 GMT  
 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



Sun, 28 Sep 1997 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Getting File Size and Date information

2. Getting Time/Date from a file without FileTimeDate function

3. VB 6 iNet DIR Getting File Date/Time

4. Getting File Date/Time via FTP

5. Help Setting File Properties/Attrib

6. Help: Getting file description (in Version Information)

7. Compare date in form with date/time in form with date/time in database

8. Need help getting the date from Access

9. Need to read file Time and/or Date stamp

10. Need to set file date/time

11. Getting Information on a DLL'd date or version using VBA

12. Getting Time Zone Information

 

 
Powered by phpBB® Forum Software