Results 1 to 2 of 2

Thread: LastModified

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Question LastModified

    Is there a method in VB.Net, which can say when file was modified last time? (corresponds to document.LastModified in JS)

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Declare "Imports System.io" at the top of your form, then call on any of the IO.File properties:

    io.File.GetCreationTime
    io.File.GetLastAccessTime
    io.File.GetLastWriteTime

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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