Hi!

I was told that this is the code to the width of a picture within a
picturebox:

=> Picture1.ScaleX(Picture1.Picture.Height, vbHimetric, vbPixels)

And that was true!
But now I have another problem:
if I want my class to find out the width and height of a picture inside
another program, how should I do? The program send the hDC parameter of the
picture to the class, but how should the CLASS find out the size of that
picture?

There must be an API for this...

Thanks!

/John