|
-
Dec 27th, 2001, 10:46 AM
#1
Thread Starter
Addicted Member
how to get the date of "last modified" of a file?
hi guys
well i wanna know how can i get the date of "last modified" of a file. can u help me?
thanks
-
Dec 27th, 2001, 11:00 AM
#2
Just add the attached module into your project. You can use it to set or retrieve all 3 file times which are:
1) Last Accessed
2) Last Modified
3) Created
To get the Last Modified time, use "dhGetFileTimesEx" in the following manor
Code:
Private Sub Form_Load()
Msgbox dhGetFileTimesEx("C:\Command.com", dhcFileTimeModified)
End Sub
Got the code from a book. Not mine
-
Dec 27th, 2001, 11:12 AM
#3
Thread Starter
Addicted Member
thanks. i really love these ready functions in these moduls. haha.
oh i think it makes me so dull and lazy
-
Dec 27th, 2001, 11:26 AM
#4
Not as lazy as I. Just uploaded the module as it is. Didn't even open it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|