CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2002
    Location
    Singapore
    Posts
    9

    File attributes: Date Created

    hi!
    is there any way for me to get a file's attributes when I open a file using the openFileDialog method. i want to know the date the file was created.

    thks

  2. #2
    Join Date
    May 2002
    Location
    Atlanta,GA
    Posts
    262

    Re: File attributes: Date Created

    Originally posted by Gabro
    hi!
    is there any way for me to get a file's attributes when I open a file using the openFileDialog method. i want to know the date the file was created.

    thks
    Take the path returned from openFileDialog and then

    DateTime creation = File.GetCreationTime(path)
    Jared

  3. #3
    Join Date
    May 2002
    Location
    Singapore
    Posts
    9

    Re: Re: File attributes: Date Created

    Originally posted by jparsons


    Take the path returned from openFileDialog and then

    DateTime creation = File.GetCreationTime(path)
    thx for ur help

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

Featured