Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

List View on SSTab Problem

Posted on 2000-03-21
7
Medium Priority
?
450 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
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

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 80 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

885 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