Results 1 to 4 of 4

Thread: how to get the date of "last modified" of a file?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Location
    shiraz
    Posts
    163

    Question 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

  2. #2
    Yash_Kumar
    Guest
    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

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Location
    shiraz
    Posts
    163
    thanks. i really love these ready functions in these moduls. haha.
    oh i think it makes me so dull and lazy

  4. #4
    Yash_Kumar
    Guest
    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
  •  



Click Here to Expand Forum to Full Width