Last Accessed Date and Last Modified Date

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mariyana
    New Member
    • Mar 2007
    • 11

    Last Accessed Date and Last Modified Date

    How can we get the last accessed date and the last modified date of a file using VB6
  • ansumansahu
    New Member
    • Mar 2007
    • 149

    #2
    Originally posted by mariyana
    How can we get the last accessed date and the last modified date of a file using VB6

    Is the file located on a remote directory on the ftp server.

    -ansuman sahu

    Comment

    • d3siboy
      New Member
      • Sep 2007
      • 4

      #3
      What if it is in Remote Computer. I really need help on this.
      Thnx

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Look up FileSystemObjec t in your online help. The FSO model allows you to access a lot of information about files through the properties of the File object. Specifically of interest to you would be the DateLastModifie d and DateLastAccesse d properties.

        Comment

        • d3siboy
          New Member
          • Sep 2007
          • 4

          #5
          Yes I can get this working on local pc, but what about remote or networked pc? Is it same method?

          Comment

          • Killer42
            Recognized Expert Expert
            • Oct 2006
            • 8429

            #6
            Originally posted by d3siboy
            Yes I can get this working on local pc, but what about remote or networked pc? Is it same method?
            As far as I know, it should work wherever the file is. Give it a try, and see how it goes.

            Comment

            • d3siboy
              New Member
              • Sep 2007
              • 4

              #7
              yep It works, thnx to you all for reply.

              Comment

              • Killer42
                Recognized Expert Expert
                • Oct 2006
                • 8429

                #8
                Great! Glad we could help. :)

                Comment

                Working...