Solved

List View on SSTab Problem

Posted on 2000-03-21
7
439 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
[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
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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 

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

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!

Question has a verified solution.

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

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…
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…
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…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

617 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