mfc >> file time

by Dave » Mon, 10 Jan 2005 05:03:34 GMT

hi,
I need some code that find the 10 first files created in a directory, can
any one sent me a function that do that for vc++/mfc - 6?
Thanks




mfc >> file time

by CheckAbdoul » Mon, 10 Jan 2005 05:15:30 GMT


Take a look at the CFileFind MFC class.

--
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------








mfc >> file time

by VmlnbmVzaA » Mon, 31 Jan 2005 14:19:01 GMT

Hi,
Is there any way to change directory creation/ modification date/time
using MFC code

Thanks,
Vignesh






Similar Threads

1. Compare file times across TimeZones ?

Hello All

I'm trying to figure out how to do this the best way. Basically, I
need to compare DateTime of files across TimeZones. The situation is
like this:

1. I have a database say in Korea in which file-1 resides (in OS) and
I have stored the UTC of the file's modified time in the database.

2. Next I create a zip archive and send the file to US, where it's
unzipped as file-2 (but with same name) and the TimeZone info. is lost
since WinZip does not preserve that.

3. Now I also restore the same database in US which has file-1 UTC in
it.

So how do I compare the DateTime of file-2 with the DateTime in the
database ??
Do I convert the file-2 to UTC and then compare it, or do I need to do
this in the same TimeZone as file-1's; i.e Korean ??


thanks
Sunit

2. File time (2nd post)

3. BackupWrite and file times

Hello!

I am using BackupRead to backup files and BackupWrite to restore them. I 
have noticed that the restored files do not have the create, access, and 
modified times of the original file.

I was under the impression that BackupRead was supposed to save all file 
information. I can always use SetFileTime to set the file dates after 
restore, but that means I have to come up with a way to store the dates 
along with the file.

Is normal for BackupWrite to not set file dates or am I doing something 
wrong?

Thank you!

-Anton

4. file time - VC MFC

5. How do I get File Access Time and File Write Time in C++

Hi,
I need to find the Windows C++ functions that get the time a file was
written to, read from, and last accessed.  Is there a way to do that?
Thanks,
Marvin

6. access text file linked at compile time as resource - CSharp/C#

7. adding files at compile time

I have a situation, where I need to add 4 or 5 data files (they change
every time I build) in my project during build time and somehow I need
a way to access these files during runtime.
So I have 2 questions
1. Is it possible to identify all the files in the resource file
during runtime by name of the file?
2. Is it possible to add files to a project at build time to make an
exe with those files?
Thanks.

8. FTP file date and time. - CSharp/C#