Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Touch File
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00602053
Message ID:
00602203
Vues:
23
Well, I did find a small error in your code, but even ater changing endproc->endfunc on line 25 and fixing the path for contime...it still doesn't work.

I thought it might be a problem simply with changing the timestamps on the exe because foxtouch works on .txt files but not on .exe's. Take a look and perhaps you or another helpful person could point me in the right direction, in terms of using your program.

******
lcfile = 'C:\Matt\Discovery\LB_400\LogBook\archiver.exe'
lcfile2 = 'C:\Matt\Discovery\LB_400\LogBook\myfile.txt'
ltModified = datetime()
ltCreate = datetime()
* Retrieve a file's date/time stamps
SET PROCEDURE TO FileTime ADDITIVE
oFileTime = CREATEOBJECT("FileTimes")
llresult = oFileTime.SetFilesTime(lcfile, , , ltModified)
llresult = oFileTime.SetFilesTime(lcfile, , , ltModified)
*******
I essentially, c&p'ed precisely what you had in the abouttime.doc...Am I missing something?

ty
m
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform