Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sort by
Message
From
07/09/2006 07:55:24
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01151579
Message ID:
01151681
Views:
29
Naomi --

Following Thread #700704, as you directed, allowed me to create this little PRG
Lparameters lcPictureFileName
Local lcResult

Local loImage As GpImage Of ffc/_gdiplus.vcx
loImage = Newobject("GpImage", Home() + "ffc/_gdiplus.vcx")
loImage.CreateFromFile(lcPictureFileName)
lcResult = loImage.GetPropertyItem(306)

Return Ctot( "^" + Strtran(Left(lcResult,10), ":", "/") + Right(lcResult,9))
Which returns "Date Picture Taken" for a JPG file ... Thanks

>>Naomi --
>>
>>My question doesn't have to do with optimization -- it has to do with the field "picture taken on", which is not returned by ADIR. (This field may be made visible in Explorer, but the problem is that I want the icons to be sorted by this field -- and the option is not available).
>>
>>
>>>>Is there some alternative to ADIR that allows me to get the "date picture taken" for all pictures in a folder?
>>>>
>>>>TIA,
>>>
>>>Re: ADIR optimization Thread #542818 Message #542840 (searched by the wrong word again <g>)
>
>Re: File Properties Thread #700704 Message #700707
>Re: Getting the number of pages of a Microsoft Word document Thread #638698 Message #638856
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform