+ Reply to Thread
Results 1 to 2 of 2

Excel 2003 get size of an image

  1. #1
    Registered User
    Join Date
    01-11-2007
    Location
    Netherlands
    Posts
    15

    Excel 2003 get size of an image

    Hi,

    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:

    Please Login or Register  to view this content.
    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?

    Thanx, greetings, CJ.
    Last edited by DIN; 12-03-2010 at 10:49 AM.

  2. #2
    Registered User
    Join Date
    01-11-2007
    Location
    Netherlands
    Posts
    15

    [SOLVED] Re: Excel 2003 get size of an image

    OK, I used another routine I found in this Forum that worked:
    http://www.excelforum.com/excel-prog...-not-load.html
    But still, I do not understand why the first routine just returns the description. Maybe it's too the wrong Forum and should this one be in the Programming-forum. Let me post it there...

    And mark this one as solved.
    Last edited by DIN; 12-03-2010 at 10:48 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1