|
-
Jun 22nd, 2000, 10:14 PM
#1
Thread Starter
Member
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]
-
Jun 23rd, 2000, 12:25 AM
#2
perhaps you have a corrupted RAM cell somewhere in one of your memory chips. just a thought
-
Jun 23rd, 2000, 02:43 AM
#3
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|