Click here to Skip to main content
15,897,518 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: stop watch timer and threads Pin
Christian Graus4-Feb-07 0:16
protectorChristian Graus4-Feb-07 0:16 
QuestionHow can I make a usercontrol that can contain other controls? Pin
Mansourgh2-Feb-07 18:21
Mansourgh2-Feb-07 18:21 
AnswerRe: How can I make a usercontrol that can contain other controls? Pin
Christian Graus2-Feb-07 21:33
protectorChristian Graus2-Feb-07 21:33 
GeneralRe: How can I make a usercontrol that can contain other controls? Pin
Mansourgh2-Feb-07 22:44
Mansourgh2-Feb-07 22:44 
GeneralRe: How can I make a usercontrol that can contain other controls? Pin
Christian Graus2-Feb-07 22:46
protectorChristian Graus2-Feb-07 22:46 
AnswerRe: How can I make a usercontrol that can contain other controls? Pin
Mansourgh2-Feb-07 23:02
Mansourgh2-Feb-07 23:02 
AnswerRe: How can I make a usercontrol that can contain other controls? Pin
TwoFaced3-Feb-07 7:53
TwoFaced3-Feb-07 7:53 
QuestionListView control Pin
CodingYoshi2-Feb-07 13:28
CodingYoshi2-Feb-07 13:28 
Not sure if this is a VS.Net bug or if I am doing something wrong. I have a listview which has some items in it. The listview has checkboxes so when the user checks an item I am using this event to get the item:

Private Sub ListView1_ItemCheck(ByVal sender As Object, ByVal e As System.Windows.Forms.ItemCheckEventArgs) Handles ListView1.ItemCheck
Dim item As ListViewItem
Dim Selection As ListView.CheckedListViewItemCollection = ListView1.CheckedItems
For Each item In Selection
Dim itm As String = item.Text
TextBox1.Text = itm
Next
End Sub

The problem is when the checkbox is checked the collection has no items but when unchecked then it has an item in it.

Am I doing something wrong? I also tried the mouse up and mouse down event to check the collection but yields the same behavior.

Any ideas?

Yoshimitsu
AnswerRe: ListView control Pin
MatrixCoder2-Feb-07 14:40
MatrixCoder2-Feb-07 14:40 
GeneralRe: ListView control Pin
CodingYoshi3-Feb-07 12:07
CodingYoshi3-Feb-07 12:07 
GeneralRe: ListView control Pin
TwoFaced3-Feb-07 13:02
TwoFaced3-Feb-07 13:02 
AnswerRe: ListView control Pin
TwoFaced3-Feb-07 13:13
TwoFaced3-Feb-07 13:13 
GeneralRe: ListView control Pin
CodingYoshi5-Feb-07 6:02
CodingYoshi5-Feb-07 6:02 
QuestionHow to get members of type found through reflection Pin
cstrader2322-Feb-07 12:37
cstrader2322-Feb-07 12:37 
AnswerRe: How to get members of type found through reflection Pin
Colin Angus Mackay2-Feb-07 14:44
Colin Angus Mackay2-Feb-07 14:44 
GeneralRe: How to get members of type found through reflection Pin
cstrader2322-Feb-07 17:35
cstrader2322-Feb-07 17:35 
GeneralRe: How to get members of type found through reflection Pin
cstrader2324-Feb-07 4:04
cstrader2324-Feb-07 4:04 
QuestionCrystal Report Error when Running VB6.0 Application with .net Application Pin
Ali 1102-Feb-07 2:55
Ali 1102-Feb-07 2:55 
AnswerRe: Crystal Report Error when Running VB6.0 Application with .net Application Pin
aransiola2-Feb-07 3:58
aransiola2-Feb-07 3:58 
QuestionPlease Help me....Small doubt on comboBox of datagridview Pin
priya_p2332-Feb-07 2:51
priya_p2332-Feb-07 2:51 
AnswerRe: Please Help me....Small doubt on comboBox of datagridview Pin
Guffa2-Feb-07 5:46
Guffa2-Feb-07 5:46 
QuestionGetting the name of an instance Pin
edmonson2-Feb-07 0:34
edmonson2-Feb-07 0:34 
AnswerRe: Getting the name of an instance Pin
testy_proconsul2-Feb-07 1:20
testy_proconsul2-Feb-07 1:20 
QuestionHow can insert a ocx control in word document? Pin
Kumar Arun1-Feb-07 23:12
Kumar Arun1-Feb-07 23:12 
QuestionExporting to Excel Pin
Dayekh1-Feb-07 22:47
Dayekh1-Feb-07 22:47 

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.