>Hi everybody,
>
>I have an image saved in varbinary(max) field in SQL Server. I display it in the image control on a form using pictureval property.
>
>I also want to allow viewing the picture in the full size.
>
>I'm not sure how to determine image dimensions based on the original image.
Instantiate an invisible image control, load the image in it and then check its dimensions. Works for pictures on disk, I assume it would work for those loaded via .pictureVal property.