1,201 Topics

Member Avatar for
Member Avatar for lolztear
Member Avatar for anucom
0
96
Member Avatar for jamesrobb

Hi, When I try and populate a listview with data from an array with 3 entries I find that the data goes into the wrong columns. The array consists of the following. ?ID {Length=3} (0): "T123456789" (1): "001" (2): "Smith" My list view has columns : ID, Location, Name. My …

Member Avatar for jamesrobb
0
148
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
412
Member Avatar for WildBamaBoy

Just as the title says, how can I detect double clicking in a ListView? I'm trying to emulate browsing through a directory with windows explorer.

Member Avatar for WildBamaBoy
0
108
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
201
Member Avatar for bettybarnes

hi im having errors with listview binding navigation specifically in last >> and first << here's my code [CODE] Dim inc As Integer Dim MaxRows As Integer Dim dr As DataRow Dim ds As DataSet Public Sub navigaterecords() txtMed_ID.Text = ListView1.Items(inc).SubItems(0).Text txtMed_name.Text = ListView1.Items(inc).SubItems(1).Text txtfname.Text = ListView1.Items(inc).SubItems(2).Text txtMname.Text = ListView1.Items(inc).SubItems(3).Text …

Member Avatar for bettybarnes
0
158
Member Avatar for bestex

Hi im having a problem on displaying my Date ng my listview here is my code [CODE] Private Sub frmTransaction_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try IsConnected("Select CONCAT(person.lastName, ',',person.firstName,' ',person.middleName) AS FullName, transaction.transactionDate from transaction INNER JOIN person ON person.personId = transaction.personId", False) Call Loader() Catch …

Member Avatar for CodeWord
0
62
Member Avatar for akshintlakalyan

I have written to take Backup of any database automatically, at any time given by the user in config file. It's working fine, now i wish to take the Backup of a certain database which was already taken Backup previously for the next time. Any help.[CODE] private void FrmRestoreBackup_Load(object sender, …

0
83
Member Avatar for CityThrille

Good day to all. How can I transfer entries from listview to disk using System.io? Help is appreciated. Thank you. :-/

Member Avatar for codeorder
0
95
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
212
Member Avatar for tukky

Hey :) Im working on a project and ive come across a small problem. I have a listview that contains the details of a person(s) such as their name,address,e-mail address etc. I have a button that opens up another form where the user can edit the details of the customer, …

Member Avatar for codeorder
0
123
Member Avatar for sjn21682

hi everyone, could anyone tell me how can i change my menustrip from menustrip1 to menustrip2. Well i have 2 forms, Form1 and Form2, in Form1 i have 2 menustrips menu1 & menu2. Once i click menu1, my form2 will show with a listview, so my form1 and form2 now …

Member Avatar for mcriscolo
0
254
Member Avatar for arezz09
Member Avatar for codeorder
0
129
Member Avatar for AngelicOne

I successfully implement in my application a listview that can get the values of selected items using a for loop [CODE] for (int i = 0; i < eventlv.Items.Count; i++) { if (eventlv.Items[i].Checked == true) [/CODE] and using this to get the specific value on my parameter [CODE]eventlv.FocusedItem.SubItems[0].Text[/CODE] Though, I …

Member Avatar for Mitja Bonca
0
5K
Member Avatar for arezz09
0
78
Member Avatar for bLuEmEzzy
0
60
Member Avatar for Damon88

I want to change the color of the group header text in listview which separates all the items into various groups, there is no such option to do that directly because no such property exists. As far as i can think of it can be achieved via overriding the paint …

Member Avatar for jma2400
-1
3K
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 arezz

hello...anybody know how to print selected item in list view using crystal report..do i need to createcheck box in list view but how to print it...

0
65
Member Avatar for paulmountford

Hi All. I am developing a website in asp.net 3.5. I am trying to retrieve records from a database and display. Before each record I want to dispaly the title of the record such as: "Department Accounts" where the word accounts is from the database. However, if a record is …

Member Avatar for khadakbist
0
103
Member Avatar for aluda

this is the code help me solve it. Public Class frmBorrowBooks Dim myConnection As New mysqlConnection Dim myCommand As New mysqlCommand 'im mycommandtext As New mysql Dim dr As MySqlDataReader Dim myCommand1 As New mysqlCommand 'im mycommandtext As New mysql Dim dr1 As mysqlDataReader Dim myCommand2 As New mysqlCommand 'im …

Member Avatar for Momerath
0
122
Member Avatar for bLuEmEzzy

if the itemcheck is check then all the checks will be add separately to cash... i hope is it clear enough... thank You.. God bless... [CODE] Dim Cash As Double = 0.0 Dim Cheque As Double = 0.0 Dim Other As Double = 0.0 Dim DetermineCash As Boolean Dim CheckedItems …

Member Avatar for bLuEmEzzy
0
161
Member Avatar for Chair

Hi, I want to populate a listview with items from datagrid view. I've been searching for solutions but it seems that all the scenarios I found were about populating listview with items from tables in database, not from another listview or datagrid view. I'm trying this code: [CODE] For count …

Member Avatar for Chair
0
1K
Member Avatar for bettybarnes

i have problem guys about overload resolution Overload resolution failed because no Public 'Add' can be called with these arguments: 'Public Function Add(text As String) As System.Windows.Forms.ListViewItem.ListViewSubItem': Argument matching parameter 'text' cannot convert from 'DBNull' to 'String'. 'Public Function Add(item As System.Windows.Forms.ListViewItem.ListViewSubItem) As System.Windows.Forms.ListViewItem.ListViewSubItem': Argument matching parameter 'item' cannot convert …

Member Avatar for CodeWord
0
189
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 CityThrille

Hello! I'm a programming student and a newbie in forums. :) How can I search for a data in listview from fist form using my second form? For example, I entered 7 entries to my listview, and when I press "Search in listview" button, the second form will open. (My …

Member Avatar for CityThrille
0
71
Member Avatar for varsha solshe

Hello Everyone, I am new for asp.net and knows some basics of sql... I wanted to use linq with listview and the elements in the listview should be sorted according to the click event of bulleted list and i don't want this data to be editable i mean this is …

Member Avatar for kvprajapati
0
65
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
93
Member Avatar for GAME

Hello, I need some help getting started with saving all the items in a listview with a savefiledailog. The items in the list look like this IP , port. The IP and port are in different columns. The IP is in the first column and the IP is in the …

Member Avatar for Mitja Bonca
0
969
Member Avatar for Korenai

good day, im practicing databases and .net, can you help me in relating multiple tables and manipulating a listview? my scenario is about school subjects of a student, i have a database with data that has 2 tables, which is 'fnsh_table' and 'ofrd_subjects' fnsh_table Student_No nchar(4) Subj_No nvarchar(10) Title nvarchar(20) …

Member Avatar for smantscheff
0
124
Member Avatar for rhinocort23

ok... i know a lot of you are probably tired of me asking questions but i am trying to learn and i am asking about stuff i dont know, not just to get you to do the whole program for me. this question is if there is a list of …

Member Avatar for Jim2011
0
134
Member Avatar for JannuBl22t

Hey I have a question.. I have a list in one form that looks like this: [column1] - [column2] item1 - 0 item2 - 6 item3- 8 item4 - 5 item5 - 2 soo.. now I open a new form and I need to select what kind of items I …

Member Avatar for Mitja Bonca
0
115
Member Avatar for niths

hi all, i had a folderbrowserdialogue. and wen i click on a folder it should get me that folder name, files names in that folder and subfolders and files names in that subfolder to be displayed in listview. i had tried this and it is displaying files in selected folder.Now …

Member Avatar for Mitja Bonca
0
520
Member Avatar for abelingaw

I want to load values from a lstview column to a combobox in another form. The problem is that, my combobox style is 2 - Dropdown List and the values in it are from my database field. That's where the error occurs. Saying [ICODE]Text property is read only.[/ICODE] I could …

Member Avatar for AndreRet
0
807
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
136
Member Avatar for paulablanca

Hello! I just want to ask how can I save the value of my first column of my listview to sql? I'm using OLEDB by the way. Thank you very much! God Bless. :D

Member Avatar for lolafuertes
0
67
Member Avatar for sarminatorius

Hi, i would like to create a listview in my application like it is in utorrent (and many other applications). With name, status... and they can be resizable. Any ideas how to google for tutorial? How to create it? I am using visual studio 2010 ultimate.

Member Avatar for ddanbe
0
108
Member Avatar for vanzhyme

ahmm, please help me. I want to update the items in listview when my form loads up. this is my code for the listview. It actually displays the data on the database but when i add another data it wont appear on the listview. please help me guys. I'll appreciate …

Member Avatar for vanzhyme
0
157
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
399
Member Avatar for Korenai

Good day 2 all .NET guru's, i am an IT student on my final year. Im developing a subject plotter program for enrollment(but not an enrollment system), i use a database to store retrieve/store and update data. What my problem is that i have 2 listview, one that holds the …

Member Avatar for sandeepparekh9
0
125
Member Avatar for paulablanca

Hey guys! Can someone help me.? I have two tables named Questions and Examination, and two listviews named lstQuestion and lstChosenQuestion. I transfer the value of my lstQuestion to lstChosenQuestion through drag and drop and I already did that. My problem is saving the QuestionNumber equivalent of the transfered value …

Member Avatar for paulablanca
0
132
Member Avatar for TIP.Synergy
0
77
Member Avatar for paulablanca

Hi! Can someone tell me on how could I display the data from my SQL to a ListView? I only have one column to display. Thank you very much and God Bless! :)

Member Avatar for paulablanca
0
2K
Member Avatar for Unhnd_Exception

Having an issue switching a listview from Tile to Details View with groups. When the list view has groups and the Default View is Tile, when changing the view to Details the first Group is not shown. Its under the column header. I jerry rigged it with creating a global …

Member Avatar for Unhnd_Exception
0
193
Member Avatar for soft_coder

Hi! I have created a listview in which data is binded from a sharepoint list. There is an asp image button inside the listview on clicking which a an image should be displayed. The code is as follows: ASPX file: [CODE]<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ …

Member Avatar for soft_coder
0
1K
Member Avatar for tripleD

I'm working on a file organizer of sorts. The user can drag icons from the desktop into a list view, and drag items out of the list view to remove them. Dragging icons from the desktop to the list was straightforward, it's the other part that's giving me trouble. What …

Member Avatar for tripleD
0
807
Member Avatar for agam360

Hello, I have a bunch of strings and a ready listview but my problem is to insert those strings into the list view in column 2, while running. I can't find any solution, I have only found tutorials on creating a list view and sub items via code, but i …

Member Avatar for mcriscolo
0
90
Member Avatar for abelingaw

Is it possible to print a report in VB using only Data Environment. I mean setting the textboxes only to datasource and datafields in the record I really dont want to use codes (RS, things like that) cause you see, I'm kind of a rushing so i don't have much …

Member Avatar for AndreRet
0
357
Member Avatar for Commando123

hi guys, i am using vb.net 2005 and i want to know the event name for a listview that happens every time an item is added. thank you.

Member Avatar for zinnqu
0
62
Member Avatar for Hardcoded

Having looked at several tutorials I can't help but think data binding seems unnecessarily complicated... Let's say I want a label to show whether a user is logged in or not. The obvious way to me is in the login code put something like: lb_LoggedIn.Content = User + " Logged …

Member Avatar for Hardcoded
0
182

The End.