Information générale
Catégorie:
Fonctions Windows API
>>Does anyone know how to explicitly set a files time date stamp from vfp6. I think there used to be a foxtools function called ftouch that did this but it seems to be gone now. If your solution includes using the win32ap setfiletime function plese let me know how to convert from a foxpro datetime to the wierd format that function uses.
>>
>>Thanks in advance.
>>
>Hi Jacob,
>
>There still is a Foxtools function that does this: FoxTouch(). It's usage is described in Q114949 in the MS KB and in my "Extended Foxtools Help" file available here on the UT.
>
>One note: There's a known bug. If you fail to indicate the timestamp (it's supposed to default to the current system time) the function stamps the file with the current UTC time for your locale.
Thanks for the help it worked fine after I figured out how to translate the offset from the registry.
Jay
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement