Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

remove icon from listview

Posted on 1998-11-09
3
Medium Priority
?
209 Views
Last Modified: 2008-03-06
I have tried the following but I can't get either one to work. Any suggestions.

MyStuff = listview1.listitems.remove() does not like .remove
 or
Set MyStuff = listview1.listitems
MyStuff.Remove 2   does not like .remove

I can use
ListView1.ListItems(IconCnt).Ghosted = rs.rdoColumns("view_index").Value 'True
 
and after the user logs out and comes back into the program the icon is not there. But I would like to remove the icon immediately.

0
Comment
Question by:MaryD
[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
  • 2
3 Comments
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1443923
What does it do? Does it raise an error or what.

listview1.listitems.remove listview1.selecteditem.index
should remove the selected item.
0
 

Author Comment

by:MaryD
ID: 1443924
Thanks that worked, I was getting an error before on the remove.

didn't recognize the word .remove
0
 
LVL 13

Accepted Solution

by:
Mirkwood earned 200 total points
ID: 1443925
Since I seem to have answered the question.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…
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…
Suggested Courses

660 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