Discussion:
Access .JPG file proprotis.
(too old to reply)
Franck Wu
2010-10-20 18:44:01 UTC
Permalink
I need to access .JPG files, I need to access dimension,subject,key..
properties. I tried ADIR() but it does not do that. Can I use some
other functions to do that. If any one did that, please let me know.

Thanks,
Frank
Paul Pedersen
2010-10-26 02:48:41 UTC
Permalink
Post by Franck Wu
I need to access .JPG files, I need to access dimension,subject,key..
properties. I tried ADIR() but it does not do that. Can I use some
other functions to do that. If any one did that, please let me know.
Thanks,
Frank
I'm only guessing, but you might have luck using the filesystem object:

fso = CREATEOBJECT("Scripting.FileSystemObject")

If that doesn't work, there's probably a Windows system function that
will do it. Sorry, I don't know any specifics.
Franck Wu
2010-10-28 19:43:23 UTC
Permalink
Post by Paul Pedersen
Post by Franck Wu
I need to access .JPG files, I need to access dimension,subject,key..
properties. I tried ADIR() but it does not do that. Can I use some
other functions to do that. If any one did that, please let me know.
Thanks,
Frank
fso = CREATEOBJECT("Scripting.FileSystemObject")
If that doesn't work, there's probably a Windows system function that
will do it. Sorry, I don't know any specifics.
Thank you Paul,

I thought this site is already dead, very happy to got a reply. I
seached old messages and found the solution.

loImage=Createobject("Image")
loImage.picture=image file path
loImage.Stretch=0

I can find height and width properties but I can not find other
properties like date picture taken,title, subject...


Thanks again,

Frank

Loading...