With the CALL 'CBL_DIR_SCAN_READ' using dir-handle entry-data etc. I receive the date-stamp when the file was modified. But I don’t need the date it was modified, but the date a file (JPG) was created.
Is there a possibility with NETEXPRESS 5.1 to receive the date and time a picture (file) was created?
Windows Photo Gallery. gives the possibility to read and change all these tags, but can I do it from within NETEXPRESS?
thanks
Rolf
The "tags" shown by Windows Photo Gallery display information taken from metadata that's in the JPEG file or in NTFS alternate streams. It's not part of the directory information.
To get JPEG metadata, you'd have to read and parse the file, probably using a third-party library. Metadata in NTFS alternate streams is probably in a Microsoft proprietary format; typically getting at that data is a messy process involving COM objects.
That said, Windows does keep the file creation time (for NTFS only, not FAT filesystems). That's not the same as the JPEG creation time, because the file may have been copied from somewhere else, for example. You can get the file creation time using Windows APIs such as FindFirstFile.
CBL_DIR_SCAN_READ doesn't return the creation time because that's not portable - most filesystems don't support it.