ListView in VB.Net finding the selected item

  • Thread starter Thread starter Phil Watkins
  • Start date Start date
P

Phil Watkins

I am a novice programer in Vb and I am having a major
brain ache finding out which item has been selected within
a list view and then either deleting that item or editing
them. My searching so far seems to indicate the use of
the "contains" command but I cannot find a helpfull
reference.

Any help greatly apreciated as I am workin on the second
bottle of nurophen

Phil Watkins
 
Hi - Take a look at the selectedItems property on the ListView control
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003APR.1033/cpref/html/frlrfsystemwindows
formslistviewclassselecteditemstopic.htm

Thanks
A.

--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
| Content-Class: urn:content-classes:message
| From: "Phil Watkins" <[email protected]>
| Sender: "Phil Watkins" <[email protected]>
| Subject: ListView in VB.Net finding the selected item
| Date: Mon, 21 Jul 2003 14:48:09 -0700
| Lines: 11
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNP0cZjZ0+JK+NfRmywYH5bWTSCiQ==
| Newsgroups: microsoft.public.dotnet.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:101964
| NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| I am a novice programer in Vb and I am having a major
| brain ache finding out which item has been selected within
| a list view and then either deleting that item or editing
| them. My searching so far seems to indicate the use of
| the "contains" command but I cannot find a helpfull
| reference.
|
| Any help greatly apreciated as I am workin on the second
| bottle of nurophen
|
| Phil Watkins
|
 
Back
Top