Results 1 to 3 of 3

Thread: Image list problems

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 1999
    Location
    Ohio
    Posts
    59
    I'm having trouble with an imagelist and treeview that I'm using in VB6.
    For some reason I'm getting the following error, but it doesn't happen all the time.

    "Run-time error '-2147417848 (80010108)':
    Method 'ImageList' of object 'ITreeView' failed"

    If I select debug the error is occurring on the 2nd line of the following code.

    Set tvBaseItems.ImageList = Nothing
    Set tvBaseItems.ImageList = ImageList1

    If I select End I get an application error and VB shuts down. The error says "the memory could not be read".

    If I right click the imagelist and choose properties and then select ok and run the app the treeview will show ok with the images. Other times the images appear dim.

    Any idea what could be causing this?


    [Edited by JasonS on 06-23-2000 at 11:17 AM]

  2. #2
    Guest
    perhaps you have a corrupted RAM cell somewhere in one of your memory chips. just a thought

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 1999
    Location
    Ohio
    Posts
    59
    Hope not it's a brand new pc.

    I have another app that uses a treeview with an imagelist and I haven't had the same problem.

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