|
-
Jun 15th, 2010, 01:59 PM
#3
Re: VB6 Image and Picture Controls Out of Memory Error 7
Welcome to the forums.
The issue is probably with image size, physical dimensions. When the pic/fax viewer displays an image it is most likely scaling the large image to a smaller bitmap and that smaller bitmap is what is displayed. VB picture objects are DIB sections and the system dictates how large a DIB can be created and this is what I think is causing your error.
The answer may be simply that you will never be able to display them with an image/picturebox control directly. Rather you will have to scale it to a smaller bitmap (say full screen size at max) and then create a stdPicture object from that bitmap.
Out of curiosity, what are the dimensions of that image?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|