210 Topics

Member Avatar for
Member Avatar for RenanLazarotto

Yay guys, it's me again. I am using the code from here: [url]http://www.daniweb.com/software-development/vbnet/code/370426[/url] to sort my listview items. But I want something more 'dynamic': when I click on a header column, I want that it changes the sorting based on the column that has been clicked. here is my code: …

Member Avatar for codeorder
0
1K
Member Avatar for rookisan

[ICODE]Public Class Movies Dim a As Integer, b As Integer Dim titles(a) As String, rating(b) As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ListView1.Items.Clear() Dim names As String, rate As String Dim listviewItem As ListViewItem names = TextBox1.Text rate = ComboBox1.Text titles(a) = names …

0
81
Member Avatar for Fritz.fx

Hi guys. What I'm trying to do is pass all items and subitems from a listview on my main form to a listview on a new form. After googling for a couple of hours the closest I got was the the code below which only passes the selected Item from …

Member Avatar for Fritz.fx
0
873
Member Avatar for Reverend Jim

I would appreciate a snippet of code for adding groups at run-time to a listview. I am currently listing books (and stats) without groups via the following code which is executed in a loop (one pass per book title). [code] item = New ListViewItem item.Text = seq.ToString item.SubItems.Add(Mid(titlenode.Nodes(N_CSTAT).Text, 3)) item.SubItems.Add(Mid(titlenode.Nodes(N_JSTAT).Text, …

Member Avatar for Reverend Jim
0
2K
Member Avatar for y2kshane

i want to detect if listview has been updated eg: there are listview1,listview2 and a button1 .u can send items to listview2 from listview1 .if the listview2 has an item button1 will enable if the listview2 is empty button1 will disable what is the suitable event for this?? (there is …

Member Avatar for Unhnd_Exception
-1
2K
Member Avatar for apals

0 down vote favorite I am a programmer for winforms and asp.net. A new-comer to WPF application development. I wish to thank in advance for any help rendered to my query, I am working on a application for Banking. My job profile is to develop reusable usercontrols for the application. …

Member Avatar for nmaillet
0
1K
Member Avatar for whin_lopez

Hi please help me with this problem i really need it those kind hearted programmers out there please help me :) thanks

Member Avatar for longstrd
0
3K
Member Avatar for deathxmortis

Hi, I was just wondering, if I have a list view control, with 2 columns, and insert items to those columns, ex: LIST VIEW ANIMALS - CARS Col1 Animals === Col2 Cars [COLOR="Green"]Jaguar [/COLOR]................... [COLOR="Red"]XJR [/COLOR][COLOR="Green"]Tiger [/COLOR].................... [COLOR="Red"]DB9 [/COLOR][COLOR="Green"]Bull [/COLOR]..................... [COLOR="Red"]Gallardo [/COLOR] Can I move items from 1 COLUMN to …

Member Avatar for Luc001
0
441
Member Avatar for xiiopao

Good day guys .., just wondering if someone can help me out =) .., i have a program and i want the listview to display products as i enter text in the search textbox... my data is in the database .. for example when i type 'co' the products {coca …

Member Avatar for pseudorandom21
0
208
Member Avatar for Jade_me
Member Avatar for garrypeace

Hi, I'm new to ASP.NET. I began learning as I had to make a website for a college project using a language I didn't already know (I know PHP pretty well so I'm not a total noob :P). Basically what I'm trying to do is get a list of products, …

Member Avatar for aspproject
0
143
Member Avatar for Dorayaki

Hello, I got a problem, I can save my data to access database and in the access database field I set it to date/time. But problem is when I get the value out from the database.. the format is always month/day/year hour:minutes:seconds example today: 5/2/2011 12:00:00 How to get the …

Member Avatar for Unhnd_Exception
-1
3K
Member Avatar for twigan1015

Im trying to make an application that collects how many items were sold and which items they were, I was thinking something like this for checking the upc number, to see if it matches the names in the “files” [CODE] Select Case TextBox1.Text ' 0921115150 “Dark Chocolate Truffles”, 2221001501 “ …

Member Avatar for Unhnd_Exception
0
186
Member Avatar for arezz09

1. i hve create school system...so when register new student i want to upload their picture in folder,not database...when upload, all student picture will be in same folder like student picture.. 2. i'm using listview to view all student information,so i want picture display in listview column..

Member Avatar for codeorder
0
160
Member Avatar for nigelv1

Please help. Im having trouble displaying the checkbox's text in the listview form. It only display's the text of the 1st checkbox. I cant seem to display the remaining checkbox.text. It only display's the 1st checkbox in my ListView form. I have another form for ListView.vb Here is the code: …

Member Avatar for codeorder
0
103
Member Avatar for kipslem

Hello, Please help... I have a small application. When I click on a ListView row to Edit the details populated from the MS Access DB, I have the Else statement being executed all the time. Initially the code is attached behind a button named Edit. I have a Refresh button …

Member Avatar for kipslem
0
231
Member Avatar for bLuEmEzzy

ei guys, i am stuck in getting unchecked in listview... pls help me... thank u :) this is my code... [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For Each item As ListViewItem In ListView1.Items If CheckState.Unchecked Then MsgBox(ListView1.Items.Item(0).SubItems(1).Text) End If Next End Sub [/CODE]

Member Avatar for bLuEmEzzy
0
152
Member Avatar for Jean Pion

Dear People, I want to use the ListView with larger images. For this I use the ImageList with images of 120x80 pixels. Now for each ListItem I have two images. With a timer I want to alternate the imahes like: [CODE] Private Sub Timer1_Timer() Dim i As Integer For i …

Member Avatar for AndreRet
0
409
Member Avatar for arezz09

i have create a checkbox in listview...so i wanna know how to check it and export only check item to crystal report so i can print item that i have check... please anyone help me..

Member Avatar for codeorder
0
293
Member Avatar for whin_lopez
Member Avatar for whin_lopez
0
93
Member Avatar for Fattman

Hi All if anyone could help me that would be great! currently i have an array which enables a user to input: Student Name Maths Mark English Mark Science Mark Array: StudentArray(25,3) i have this array output the data to a listview box. Column 1: Student Name Column 2: Maths …

Member Avatar for Fattman
0
267
Member Avatar for tukky

I have a project which is 98% complete. Its basically a Shop(till) interface. I have a form that has tabs the first being the main till, second shows a listview with everything in stock and the quantity of items in stock. Im stuck on one part of the program where …

Member Avatar for codeorder
0
409
Member Avatar for vanzhyme

Im using this code ! con.Open() cmd = New OleDbCommand("select * from RoomTypeA", con) conreader = cmd.ExecuteReader Do While conreader.Read If conreader.Item("TimeEnd") = Me.TextBox6.Text Then Me.RTypeListA.Items(0).Selected = True Me.RTypeListA.Select() End If Loop cmd.Dispose() con.Close() conreader.Close() i want to select the item in listview that has the same TimeEnd with textbox6.. …

Member Avatar for vanzhyme
0
198
Member Avatar for CityThrille

Good day to all. I'm a VB.NET newbie. How can I search, for example ID Number, and want to highlight the listview item found in search from my first form? I'm using combobox from my second form to search. Thanks.

Member Avatar for CityThrille
0
209
Member Avatar for arezz09
Member Avatar for codeorder
0
125
Member Avatar for bLuEmEzzy

How to put checkbox in listview header? Use of checkbox is for select all and vice versa... Thank You...

Member Avatar for bLuEmEzzy
0
2K
Member Avatar for bLuEmEzzy

i want to get the row(s) when the checkbox is check/uncheck in the listview.. thank u... [ICODE] For Each Item In CheckedItems If (Item.SubItems(4).Text) = "Cash" Then 'Code Here ElseIf (Item.SubItems(4).Text) = "Check" Then 'Code Here End If Next If (e.CurrentValue = CheckState.Checked) Then If LstvwBankDeposits.Items(0).SubItems(4).Text = "Cash" Then 'Code …

Member Avatar for codeorder
0
3K
Member Avatar for meghs007

Hello Friends, i am working on my college project Online Sms Portal and i want to create a group sms facility and problem is that how can i make sms selector(or SMS TEMPLATE) like way2sms.com ?? in that when i click on the SMS and the particular sms display in …

Member Avatar for kvprajapati
0
90
Member Avatar for spmg_092

Hi guys. I am having a bit of trouble with the listview control at the moment. I am trying to change the position of an item in the listview but I have no idea how to do so. I am also trying to set a command button which can "click" …

Member Avatar for barriegrant1
0
134
Member Avatar for Smalls

What my question is, Is it plausible to have a listview item search a specific folder that has nothing but text files in it, pull the first 2 lines from the text file(s) and display them in columns 1 and 2 if so, how would one go about doing it, …

Member Avatar for Smalls
0
393

The End.