210 Topics
| |
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: … | |
[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 … | |
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 … | |
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, … | |
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 … | |
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. … | |
Hi please help me with this problem i really need it those kind hearted programmers out there please help me :) thanks | |
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 … | |
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 … | |
Hi all,, How i can sum all item on listview column. Thank you in advance. | |
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, … | |
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 … | |
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 “ … | |
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.. | |
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: … | |
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 … | |
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] | |
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 … | |
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.. | |
Hi please herlp me on How pass values from datagridview to listview thanks a lot guys :) | |
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 … | |
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 … | |
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.. … | |
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. | |
anybody know how to sort item in combobox and listview in alphabert or numeric | |
How to put checkbox in listview header? Use of checkbox is for select all and vice versa... Thank You... | |
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 … | |
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 … | |
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" … | |
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, … |
The End.