List View on SSTab Problem

Posted on 2000-03-21
Last Modified: 2010-05-02
How can I see ImageList control from one Listview control on SSTab control .
I tried in design mode and runtime, with ImageList on SSTab control or outside but I did not have success.
Thank you, please tell me if 20 points are enough?
Question by:sbelean
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

Expert Comment

ID: 2643510
There should be no problem in having the ImageList control on one tab and the listview on another. Can you explain a bit more - did the listview control's property page not list the image list ?

Author Comment

ID: 2643561
Yes, I want to use ImageList for SmallIcon Property of List View control but it isn't listed in List View propery page and at runtime I have error "Wrong object"
   Thank you, Sorin B

Expert Comment

ID: 2643585
What happens if you add another listview control and imagelist control onto the form (not the tab) - does the new listview pick up one, both or none of the imagelists ?

Is the run time error message definitely "Wrong Object". I've searched the MSDN and cant find any reference to such an error message in VB
Industry Leaders: 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!


Expert Comment

ID: 2643740
paulstamp, i think there seems be some problem in your system. i just tested with a simpel project, it works well (you can get the files from

Expert Comment

ID: 2643758
hkshijun... yup I agree... I dont have the problem. I think you'll find its sbelean that asked the question !

Accepted Solution

justinflitcroft earned 20 total points
ID: 2643826
The problem you are describing (error number 35610?) occurs when you attempt to use an imagelist control from common controls version 5.0 (i tested with 5.0 SP2), and a listview control from common controls 6.0 (i tested with 6.0 SP3).
To fix this, either make your listview one from common controls version 5.0, or your imagelist control one from version 6.0.

Author Comment

ID: 2644819
Sorry paulstamp, the error is 35610 and correct description is " Invalid object ". Thank you all, sorry for late with response, I hope I can give the points to justinflitcroft. Thank you again, Sorin Belean.

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Change the path of the data source in my Excel pivot table with macro 4 55
How to debug this code 7 65
Advice in Xamarin 21 109
Export Data to Different .csv Files 26 121
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

726 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