Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 22nd, 2005, 10:49 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default Equivalent of ListView.FindItem in VB.NET

Hi All,

We had ListView.FindItem in VB6 to find an item or subitem in a ListView.

Is thr any equivalent of it in VB.NET 2003.

Thnx in advance

Ashu


 
Old October 24th, 2005, 02:29 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 839
Thanks: 0
Thanked 1 Time in 1 Post
Default

I think you'll have to write your own search.

As I recall, the FindItem method only searched for strings. Nowadays, ListViewItems (and SubItems) can be anything at all. As well, since a ListView can contain objects which inherit from ListViewItem it would be hard for a methodlike FindItem to look in those derived objects for some arbitrary property value.

Jeff Mason
Custom Apps, Inc.
www.custom-apps.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.NET Listview Control RahulPrajapati .NET Framework 2.0 1 April 23rd, 2007 03:52 AM
What is the Equivalent Syntax in VB.NET r_taduri VB.NET 2002/2003 Basics 1 June 2nd, 2006 12:49 PM
Can we reposition the columns o listview-VB.NET pauljoy Pro VB 6 0 January 10th, 2006 01:43 AM
What is C# Component equivalent to in VB.NET bekim C# 3 July 1st, 2004 03:24 PM
VB6! what is the VB.Net equivalent Louisa VB.NET 2002/2003 Basics 2 January 15th, 2004 12:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.