|
-
Jul 4th, 2002, 04:09 PM
#1
does ListView have a search feature?
I'm just wondering if there is a way to search a listview? Just need to know if there is already a function or something for it, I couldnt find anything myself....
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 4th, 2002, 05:06 PM
#2
Member
u mean serch a list box??
ListBox1.Items.Contains()
it will return true or false depending if it finds the thing or not
-
Jul 4th, 2002, 05:10 PM
#3
-
Jul 4th, 2002, 05:18 PM
#4
I think the string.compare() function.
this will compair with case sensitivity.
intReturnVal = string.Compare(string1, string2, true)
if intReturnVal = 0 Then
MessageBox.Show("They match case sensitivity")
end if
or without case sensitivity:
intReturnVal = string.Compare(string1, string2, false)
if intReturnVal = 0 Then
MessageBox.Show("They match but may not be a match as far as case goes")
end if
-
Jul 4th, 2002, 05:20 PM
#5
Member
never noticed their was a list view as well
it has the same function but it wont work for parts of the words, u could use an iterator from the collection and the string functions, i think the string function do case sensitivity
-
Jul 4th, 2002, 05:24 PM
#6
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|