Solved

VB error ImageList cannot be modified while another control is bound to it

Posted on 2004-08-10
1
1,714 Views
Last Modified: 2011-09-20
i get this errror

Run-Time  error '35617':

ImageList cannot be modified while another control is bound to it


[code]
    ImageList1.ListImages.Clear
[/code]

I have my tabcontrol bound to it

How can i un bind it so i can clear all the images?
0
Comment
Question by:Vartana
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 18

Accepted Solution

by:
JR2003 earned 500 total points
ID: 11766366
Before you clear the imageList set the ImageList property of the TabStrip control to Nothing:

    Set TabStrip1.ImageList = Nothing
    ImageList1.ListImages.Clear

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Modifying Conditional Format from VBA code 3 85
Child Form in front 4 66
Send outlook email from VBS Script 2 67
add criteria to query in VB, Access 2003 2 49
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question