Click here to Skip to main content
16,008,469 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: DeliveryNotificationOptions Pin
Dave Kreskowiak19-Feb-09 2:12
mveDave Kreskowiak19-Feb-09 2:12 
GeneralRe: DeliveryNotificationOptions Pin
puneet_shadija20-Feb-09 3:15
puneet_shadija20-Feb-09 3:15 
GeneralRe: DeliveryNotificationOptions Pin
Dave Kreskowiak20-Feb-09 11:57
mveDave Kreskowiak20-Feb-09 11:57 
QuestionCreate a Folder with Full permission and access Rights Pin
pdnet19-Feb-09 1:06
pdnet19-Feb-09 1:06 
QuestionHow to detect KeyPress Event of datagridView Cell? Pin
ivo7518-Feb-09 21:26
ivo7518-Feb-09 21:26 
AnswerRe: How to detect KeyPress Event of datagridView Cell? Pin
Jay Royall18-Feb-09 23:15
Jay Royall18-Feb-09 23:15 
Questionhow to insert a date inside an array Pin
hyperalergelo18-Feb-09 19:55
hyperalergelo18-Feb-09 19:55 
AnswerRe: how to insert a date inside an array Pin
Guffa18-Feb-09 20:11
Guffa18-Feb-09 20:11 
QuestionHow to get the list of all the folders inside the mailbox store in exchange server with their URL Pin
prateeksj18-Feb-09 18:34
prateeksj18-Feb-09 18:34 
AnswerRe: How to get the list of all the folders inside the mailbox store in exchange server with their URL Pin
prateeksj19-Feb-09 12:33
prateeksj19-Feb-09 12:33 
QuestionHow to retrieve the appointment from exchange server's user mailbox store using VB.net Pin
prateeksj18-Feb-09 18:32
prateeksj18-Feb-09 18:32 
Questionpop up window Pin
aswd18-Feb-09 17:54
aswd18-Feb-09 17:54 
AnswerRe: pop up window [modified] Pin
Nanda_MR18-Feb-09 18:12
Nanda_MR18-Feb-09 18:12 
GeneralRe: pop up window Pin
aswd18-Feb-09 19:58
aswd18-Feb-09 19:58 
GeneralRe: pop up window Pin
Ray Cassick19-Feb-09 4:22
Ray Cassick19-Feb-09 4:22 
QuestionHow could you highlight (select) an item in a listview according to sample here? [modified] Pin
JUNEYT18-Feb-09 11:18
JUNEYT18-Feb-09 11:18 
Hi,

I have a toolstripcombobox with auto-suggestions according to listitems in it. My aim is to find the selected item in the listview and highlight it. I am able to select it but I am not able highlight it because lostfocused for toolstripcombobox doesn't happen. How could you do that? I tried invoking listview1 but it didnt'work out.

Thanks.

Private Sub ToolStripComboBox2_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ToolStripComboBox2.SelectedIndexChanged
    Dim ICount As Int32 = 0

    ListView1.SelectedItems.Clear()

    For Each LItem As ListViewItem In ListView1.Items
        If LItem.SubItems(7).Text = ToolStripComboBox2.SelectedItem.ToString _
           Or InStr(LItem.SubItems(7).Text, ToolStripComboBox2.SelectedItem.ToString) > 0 Then

            ListView1.Items(ICount).Selected = True

            Exit Sub
        End If
        ICount += 1
    Next
End Sub



What a curious mind needs to discover knowledge is noting else than a pin-hole.


modified on Wednesday, February 18, 2009 6:45 PM

AnswerRe: How could you highlight (select) an item in a listview according to sample here? Pin
Mycroft Holmes18-Feb-09 21:46
professionalMycroft Holmes18-Feb-09 21:46 
GeneralRe: How could you highlight (select) an item in a listview according to sample here? Pin
JUNEYT18-Feb-09 23:14
JUNEYT18-Feb-09 23:14 
Questioninfrared communication Pin
mayyaz18-Feb-09 10:29
mayyaz18-Feb-09 10:29 
AnswerRe: infrared communication Pin
EliottA18-Feb-09 10:43
EliottA18-Feb-09 10:43 
AnswerRe: infrared communication Pin
Dave Kreskowiak18-Feb-09 12:33
mveDave Kreskowiak18-Feb-09 12:33 
GeneralRe: infrared communication Pin
Luc Pattyn18-Feb-09 13:15
sitebuilderLuc Pattyn18-Feb-09 13:15 
AnswerRe: infrared communication Pin
Jon_Boy19-Feb-09 5:40
Jon_Boy19-Feb-09 5:40 
Questionhow to use timer in vb? Pin
wafaajaradat18-Feb-09 6:21
wafaajaradat18-Feb-09 6:21 
AnswerRe: how to use timer in vb? Pin
Dave Kreskowiak18-Feb-09 7:00
mveDave Kreskowiak18-Feb-09 7:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.