I used the "Extract Icons From Files" tip to extract an icon from a DLL or EXE, but when I try to load the icon into an Imagelist at runtime I get an "Out of Memory" error message, how do I get around that.
Printable View
I used the "Extract Icons From Files" tip to extract an icon from a DLL or EXE, but when I try to load the icon into an Imagelist at runtime I get an "Out of Memory" error message, how do I get around that.
Check this out: http://www.vb-world.net/ubb/Forum1/HTML/006045.html
or change
imagelist1.add , , picture1.image
[This message has been edited by manh2000 (edited 08-02-1999).]
as far as I know you can't. You can't add a picture to an ImageList control when another control is referenced to it e.g. a toolbar. I may be wrong, but I can't do it.