Hi,
I posted this one in the general-section, but this section is better..
With Excel 2003 I'm trying to retreive the size of an image in an external folder, but instead of the size I keep getting the description "Dimension" instead of the size.
With the images in C:\images and an image test.jpg the code is:
strDimensions(0) = objFolder.GetDetailsOf(sFilename, 26) reads "Dimensions" instead of "220 x 151" (or something like that, I don't know what it looks like because I've never seen it yet).
Every other objFolder.GetDetailsOf(sFilename, xx) returns the description rather than the actual values.
How do i read the dimension? Or the other values?
Now I did find a working solution elsewhere in this forum:
http://www.excelforum.com/excel-prog...-not-load.html
Anyway, I do not understand why the first routine doesn't work. Anyone knows the answer?
Thanx, greetings, CJ.
Bookmarks