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
Solved

List View on SSTab Problem

Posted on 2000-03-21
7
410 Views
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?
0
Comment
Question by:sbelean
7 Comments
 
LVL 3

Expert Comment

by:paulstamp
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 ?
0
 

Author Comment

by:sbelean
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
0
 
LVL 3

Expert Comment

by:paulstamp
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
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Expert Comment

by:hkshijun
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 http://147.8.86.81/download/test/2)
0
 
LVL 3

Expert Comment

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

Accepted Solution

by:
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.
0
 

Author Comment

by:sbelean
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.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

809 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