Solved

remove icon from listview

Posted on 1998-11-09
3
202 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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 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…

758 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

18 Experts available now in Live!

Get 1:1 Help Now