Solved

List View on SSTab Problem

Posted on 2000-03-21
7
384 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

932 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now