Windows 11 Insider Build 22567.100 - ICO files giving "Runtime error 7:Out of memory" with ImageList.Add

IT Researcher 46 Reputation points
2022-03-09T07:39:36.963+00:00

When we are loading ICO (icon files) using 'ImageList.ListImages.Add' method in VB6 code, it is throwing "runtime error 7 - out of memory" message. It is working when ICO files are loaded using LoadPicture method, in a Windows 11 PC with Insider Build 22567.100. It is working fine with older Windows 11 builds and issue is occurring only in this build.

For BMP files it is working fine with 'ImageList.ListImages.Add' method, and error is occurring only for ICO files. We are using ICO files with bit depth as 32.

181324-scr1.jpg

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Reza-Ameri 17,341 Reputation points Volunteer Moderator
    2022-03-09T16:09:59.487+00:00

    From what your explained and since it has been working in previous builds, then I believe this is a bug and you may open start and search for feedback and open the Feedback Hub app and report this issue.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.