Re: PROPERTIES DIALOG TIME ACCESSED



Sorry I meant result with dialog box properties for the file itself is also
wrong
it gives a time that is about 10 minutes old.



"Karl E. Peterson" wrote:

> jerry_ys wrote:
> > Thanks Carl, but unless i'm making a mistake it seems the sample you
> > pointed me to does not yield the correct time after providing the
> > correct time the first time.
>
> Reading a file, even its properties, counts as "accessing" it. Try the same thing
> using the File-Properties dialog.
>
> > Also I suspect you are not using the api's i mention in my question to
> > obtain this time . m_fi.LastAccessTime .
>
> Right, those timestamps were extracted from a WIN32_FIND_DATA structure returned by
> FindFirstFile. I'm pretty sure you'd observe the same results using GetFileTime.
> Given the code in that sample, such a test should be pretty easy to code up, eh?
>
> > Do you see the same problem or is it just me?
>
> Not sure it's a problem?
>
> Later... Karl
> --
> Working Without a .NET?
> http://classicvb.org/petition
>
>
>
.



Relevant Pages

  • Re: Exporting a range of cells in Excel to Outlook 2003
    ... I suspect one or more of the following things: ... first row of your excel sheet ... > Thx Karl. ... >> Created a folder called Addresses in my personal folders Directory. ...
    (microsoft.public.outlook.contacts)
  • Re: OT weed eaters
    ... suspect she'll go with the 14 amp Black and Decker. ... Karl ...
    (rec.crafts.metalworking)
  • Re: Back Again
    ...  I suspect a number of people felt that after the pleasant ... something straight here, I'm not defending Karl, I'm attacking ... and I don't control that, nor to I wish to, but, you don't speak ...
    (Fedora)
  • Re: Exchange event error 1194 on SBS2k3 Premium.
    ... Sorry Karl, hit the wrong key-combo. ... I suspect KB 836565 probably applies ... Merv Porter [SBS MVP] ...
    (microsoft.public.windows.server.sbs)