-
File Date & Time
Greetings,
I'm working on a VB6 project where I'm storing and pulling out RTF and BMP
files to/from an Access 97 database. The graphic file data is being stored
in an OLE field and I'm using both GetChunk and AppendChunk methods. I'm
also storing the filename, file date/time, and the file size.
Later in the program, I test if the file exists and if so, that the file
sizes match. I'd like to also compare the file date/time between the database
& on disk.
The problem is that if the graphic files are written out to disk from the
database, they are stamped with the current system date & time. Are there
Windows API calls to set a files date & time.
Thanks,
Joe
-
Re: File Date & Time
Joe:
Try the SetFileTime API
Dan
Joe P wrote:
> Greetings,
>
> I'm working on a VB6 project where I'm storing and pulling out RTF and BMP
> files to/from an Access 97 database. The graphic file data is being stored
> in an OLE field and I'm using both GetChunk and AppendChunk methods. I'm
> also storing the filename, file date/time, and the file size.
>
> Later in the program, I test if the file exists and if so, that the file
> sizes match. I'd like to also compare the file date/time between the database
> & on disk.
>
> The problem is that if the graphic files are written out to disk from the
> database, they are stamped with the current system date & time. Are there
> Windows API calls to set a files date & time.
>
> Thanks,
> Joe
Similar Threads
-
By June in forum Database
Replies: 1
Last Post: 05-05-2003, 04:53 AM
-
By Randy in forum VB Classic
Replies: 6
Last Post: 04-18-2001, 01:49 PM
-
By Paul in forum Database
Replies: 0
Last Post: 08-22-2000, 10:54 PM
-
By Keflavik in forum VB Classic
Replies: 2
Last Post: 06-29-2000, 05:53 PM
-
By Tom Sell in forum authorevents.kurata
Replies: 1
Last Post: 04-20-2000, 02:28 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|