6 Topics

Member Avatar for
Member Avatar for oks1998

Dim hTable As Hashtable = New Hashtable() Dim duplicateList As ArrayList = New ArrayList() Dim itm As ListViewItem For Each itm In ListView1.Items If hTable.ContainsKey(itm.Text) AndAlso hTable.ContainsKey(itm.SubItems(1).Text) AndAlso hTable.ContainsKey(itm.SubItems(2).Text) AndAlso hTable.ContainsKey(itm.SubItems(3).Text) Then 'duplicate duplicateList.Add(itm) Else hTable.Add(itm.Text, String.Empty) End If Next 'remove duplicates For Each itm In duplicateList ListView1.Items.Remove(itm) Next I …

Member Avatar for tinstaafl
0
1K
Member Avatar for jontennyeah

i have a combobox that contains the items 0001,0002,0003, etc. i have a listview with 3 columns namely ID, Name , Age. I want to do is when i select the ID "0001" in the combobox, it will display the name and the age in the textbox1 and textbox2 that …

Member Avatar for Reverend Jim
0
182
Member Avatar for jontennyeah

i have a listview with subitems namely NAME Age and Position. The positions are Driver, Conductor and Inspector. I have 3 textbox namely CountD, CountC, CountI. What i want is if i Click the Name in the listview where the position is driver, the CountD.text will display 1 and if …

Member Avatar for Begginnerdev
0
787
Member Avatar for jontennyeah

I have a listview in form1 containing the subitems, Plate number, Engine_Number, Chasis_Number, LTFRB Case_Number and Color. I transfer the Plate number in the listbox in form2. Also i transfer the Item in the listbox to textbox1. My problems is this, How i display the other subitems (Engine_Number, Chasis_Number, LTFRB …

Member Avatar for Gé48
0
160
Member Avatar for bilal_fazlani

I am looking for the a simplest for of code where I can add some items to a listview. i have 4 text boxes and 4 columns in a listview.. what could be the code to put 4 values as a single row in list view.. i managed to put …

Member Avatar for Reverend Jim
0
189
Member Avatar for jumba_4u

hi all, here my problem is i'm preety new to vb.net programming. but have a little knowledge in vb6 programming. Say, when i press the 'edit' button a listview is shown, filled with records('empcode' field from empdetail) from a access table, say 'empdetail'. now if i doubleclick on a particuler …

Member Avatar for Lek Plepi
0
1K

The End.