Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Folder Datetime (WSH DateCreated)
Message
From
30/06/2004 09:21:30
Fabian Belo
Independent Developer
Argentina
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00918944
Message ID:
00918975
Views:
11
>>Hi George;
>>
>>I was reviewing your code (available in download area, included in windowstime.zip) in order to retrieve the datetime stamp of a folder.
>>I followed you advise (and code) as is showed in message #793877 but the result is always the same, the actual datetime, not the folder’s creation date. Why?
>>(XP Pro SP_All)
>>Thanks,
>
>Fabian,
>
>Is the drive networked or local? I don't have XP Pro to test against (Win2K Pro at the office, and Win XP Home at the house).
>
>What's probably happening is that the routine to open the folder is failing. If you look at the code, you'll note the following
llresult = This.oFiles.OpenFile(pcFileName, GENERIC_READ)
in the GetFilesTime method. If llresult is false the code to retrieve the date/time stamp isn't executed.
>
>I'm seeing this on Win2K as well. However, only under VFP 9.0. The same code does open the folder and return the dates with VFP 8.0.
>
>So the question is: Which version of VFP are you seeing this on?


I’ve tested in VFP9.0 (now default app to open VFP files). Just tried with VFP8.0, works fine. Sorry, I think I should have tried before asking…
Thank you.
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform