Solved

remove icon from listview

Posted on 1998-11-09
3
204 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
  • 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 50 total points
ID: 1443925
Since I seem to have answered the question.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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

770 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