Results 1 to 3 of 3

Thread: loading pictures into a imagelist control at runtime

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Location
    Preston, Lancashire, England
    Posts
    2

    Post

    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.

  2. #2
    New Member
    Join Date
    Mar 1999
    Location
    San Diego
    Posts
    2

    Post

    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).]

  3. #3
    New Member
    Join Date
    Jul 1999
    Posts
    9

    Post

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width