
Setting a file date/time vb6?
Hi,
Check my post on deja.com answering the same question (has to be 1 line):
http://x68.deja.com/getdoc.xp?AN=687685706&CONTEXT=977433703.41385987...
m=1
Let me know if you do not find it and I will send it to you.
Regards,
Stoil
Quote:
> I guess I'm just missing something easy here, but how can I set the date
> and/or time of a file? We have this minor problem with Win2000 and 98
> screwing up the creation time of a file. Well, it also has to do with the
> way Microsoft is trying to interpret times and keeping CDs compatible with
> DVDs. And ISO standards and such. But the resulting confusion is throwing
> off the filedate/time of an app so I need to fix it.
> I have looked through VB6 help, through the knowledgebase, and through
Deja
> looking for a way to set the date of a file. I'm just missing it somehow.
> There is a function SetFileTime in the API but it operates off a file
handle
> instead of a filename and I'm not sure where the handle comes from.
> Thanks for any help.