Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB 6.0 >>> VB.NET / July 2003

Tip: Looking for answers? Try searching our database.

Using the new listview

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike Dyer - 31 Jul 2003 20:48 GMT
Hi all,

Sorry if this has been asked and answered a zillion times already.

I'm converting an app to .NET from VB6, and upon first look, it seems that
the new listview is "missing" some pretty useful functionality, namely a
.Key property for each listitem contained in the listview, and the .FindItem
method for searching listitems.

Obviously, I can write some VB code to replace this functionality, but I
don't want to if there's some other way of duplicating this behavior.

I've also noticed that the .Key property seems to have been removed from
other collections, such as menu items.

Any help anyone can provide is greatly appreciated.

TIA,

Mike
Cor - 31 Jul 2003 21:16 GMT
Mike,
When you are used to VB.Net you are rid of all those specialitys in VB6.
VB.Net is very standarized and when you know the behaviour of one control,
you can suspect them all.
That is in VB6 something different.
And what is wrong writing self a for each loop or that you have a special
function for it.
There are so many control in VB.Net (and now even a directory box), that you
will apriciate it, that it is so standardised and when you see old VB6
behaviour (there are some controls who still have that), you will not
understan why they did it that way.
Cor

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.