Click here to Skip to main content
15,896,539 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
QuestionVisual Inherited Form Load Pin
programmervb.netc++18-Feb-09 5:56
programmervb.netc++18-Feb-09 5:56 
AnswerRe: Visual Inherited Form Load Pin
Dave Kreskowiak18-Feb-09 6:50
mveDave Kreskowiak18-Feb-09 6:50 
GeneralRe: Visual Inherited Form Load Pin
programmervb.netc++18-Feb-09 7:56
programmervb.netc++18-Feb-09 7:56 
GeneralRe: Visual Inherited Form Load Pin
Dave Kreskowiak18-Feb-09 10:27
mveDave Kreskowiak18-Feb-09 10:27 
GeneralRe: Visual Inherited Form Load Pin
Tom Deketelaere18-Feb-09 22:31
professionalTom Deketelaere18-Feb-09 22:31 
AnswerRe: Visual Inherited Form Load Pin
Tom Deketelaere18-Feb-09 22:36
professionalTom Deketelaere18-Feb-09 22:36 
GeneralRe: Visual Inherited Form Load Pin
Dave Kreskowiak19-Feb-09 2:09
mveDave Kreskowiak19-Feb-09 2:09 
GeneralRe: Visual Inherited Form Load Pin
Tom Deketelaere19-Feb-09 2:39
professionalTom Deketelaere19-Feb-09 2:39 

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.