1,201 Topics

Member Avatar for
Member Avatar for Jennifer84

I wonder how it is possilbe to access the first listitem in the listView. I know that each item has an index like the listBox Control and that you could access them with the member ->SelectedIndices but when writing the code below, the compiler says: [I]'==' : no conversion from …

Member Avatar for Jennifer84
0
202
Member Avatar for sdimantova

I am making a program to list all files in a listview (currently it lists the file name, file path, last access date, and size) in a specified directory, and I want the user to be able to select files using checkboxes, click a delete button, and see those files …

Member Avatar for KillerOfDN
1
716
Member Avatar for Bill Purkins

This is not a problem but a question. I am new to VB and am curious as to the "Gestalt" (temper of the times) on this in terms of general practice. I come from an AS/400 (green screen) and also Clarion for Windows background. Generally, when I offer the user …

0
66
Member Avatar for ruchika beddy

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim i As Integer Dim lvitem As ListViewItem For i = 1 To 5 lvitem = ListView1.Items.Add("1") lvitem.SubItems.Add("sonia") Next End Sub Above code add the five items in a listview with checboxes before each item. When we run …

Member Avatar for ruchika beddy
0
130
Member Avatar for mobman

Hey guys I am a VB noob and need some help, basically this is what I want to do please look at the following picture [URL="http://www.bus.ucf.edu/llinden/courses/ISM3253/assignments/marketing_study.PNG"]CLICK FOR PICTURE [/URL] The app should basically pull up the data contained within this CSV file : [URL="http://www.bus.ucf.edu/llinden/courses/ISM3253/assignments/survey_data.csv"]CLICK FOR CVS FILE[/URL] and display it …

Member Avatar for mobman
0
182
Member Avatar for johnny.g

i hav a small query,,,i have made a windows application,i m using listview in which i want to display all the table names in my database on a click of a button,,,how can i do tht... tnks in adv

Member Avatar for johnny.g
0
60
Member Avatar for nanawan

hi... when i save a data from text box it didnt show at the listview how to do that? and someone please check my delete coding Private Sub cmdSave1_Click() If MsgBox("Are you sure you want to save?", vbYesNo + vbQuestion) = vbYes Then Set rec = New ADODB.Recordset rec.Open "Select …

Member Avatar for nanawan
0
107
Member Avatar for sreein1986

Hi, Freinds, i am not a developer i am a web designer so please help me regarding this ... In my application i have requirment, I have 3 textboxes i which i am entering empid,empname,depid i want store this thing in listboxes tempvarily. how can i do this pls send …

0
74
Member Avatar for sreein1986

In my application i have requirment, I have 3 textboxes i wich i am entering empid,empname,depid i wnat store this thing in listboxes tempvarily. how can i do this pls send me sample code this very urgent (only one listview box)

Member Avatar for Jx_Man
0
121
Member Avatar for ninjaimp

Hi i have a listview which is populated with a number of 'Appointments' and when selected this fills a number of lables with information. now on the first click it works fine and everything gets populated but when a different row is selected i get an error. the code im …

Member Avatar for ninjaimp
0
209
Member Avatar for ruchika beddy

hey, frnds I have two forms Forn1 & form2,On Form2 I have three Texyboxes & on form1 i have listview with three Columns. I m sending the text from textboxes to listview. I want that Multiple Rows should be added. Suppose i write the value in three textboxes,with my code …

Member Avatar for selvaganapathy
0
125
Member Avatar for ninjaimp

Hi I am trying to populate a listview with all the hours of the day in 30 minute intervals. I can doing very basically from 0 to 24 with the following code: [CODE] Private Sub CreateTimeStep() For i = 0 To 25 Step 0.5 lstDays.Items.Add(i) Next End Sub [/CODE] but …

Member Avatar for ninjaimp
0
87
Member Avatar for sdimantova

I am new to VB and am trying to create a program that will search for files in a user specified directory within a specified date range, and then list the files in a list view. I've managed to figure most of it out except how to specify the date …

Member Avatar for waynespangler
0
1K
Member Avatar for ahmbil

please can somebody help me to load a records from a textfile(random acces file)and display it into te lisview.

Member Avatar for eanastacio20
0
114
Member Avatar for abhay_pundir

hi friends, i have a listview in form1 i want to pass tha listview to the form2. somebody have any idea. thanks

0
59
Member Avatar for ahmbil
Member Avatar for cometburn
0
104
Member Avatar for harcaype

Hi. Can anyone tell me how to populate items in listview? I need to call a column in a database to load all its list.

Member Avatar for Ole Raptor
0
62
Member Avatar for wednesday

Hi All, I'm doing a mini project which is adding items to the listview and calculate the total price in a label outside the listview. How do I print the final receipt with all the sold items listed and the total etc Thanks in advance for ur help How do …

Member Avatar for ericstenson
0
217
Member Avatar for sowmyask

how to retrive the data from database table to listview box in my windows application

0
54
Member Avatar for Jkt

Hai All, i am having a list view with some row values(say 10) that i populated from the DB . what i want to know is how i can get one row and and its subitems at a time one after the other and its details(items) so that based on …

Member Avatar for Jx_Man
0
263
Member Avatar for futgates

Hello guys,please help me here. Am having a problem with my listview because i cant ediit or delete records in my list view.Please assist me with the codes here

0
55
Member Avatar for harcaype

Hi. I have been figuring out how to deal with my dilemma. I'm developing a mobile application in C# in Visual Studio 2005. And I have a question regarding the adding of listview items from a form to another listview in another form. I have got my application running but …

Member Avatar for harcaype
0
108
Member Avatar for eng16danbo

Hi. I am investigating controllers such as DataGridView and ListView. If large amounts of data to update and renew ,what is the maximum time interval-second intervals? Also,What is the impact of performance? Thanks.

0
45
Member Avatar for saurabh.verma

hi, i am basically adding files to my listview through this code [code] For each n as string in my.computer.filesystem.getdirectories("C:\Testing\") Listview1.items.add(n,Imagelist1.images.count - 1) Next [/code] so all the files inside testing folder show up on the listview the problem is that they all show up but they show up with …

Member Avatar for saurabh.verma
0
104
Member Avatar for ninjaimp

I have a listview which is populated with values from a data base. What i am trying to do is select an item from the listview via a checkbox and then have that value displayed in a listbox. But everytime all that is displayed in the list box is: (Collection) …

Member Avatar for Jx_Man
0
126
Member Avatar for lostandfound

Hi again, Can anybody tell me how to make use of the checkbox in the Listview control. I would like to make use of the checkbox box in order to indicate a finished task. This would require relating the tickbox to a value in a database. I have no problem …

Member Avatar for Jx_Man
0
294
Member Avatar for coolzero

i'am a newbie here, i have a listview and i want to have the sum of a a particular column.. here's the fields that would appear on the listview: name number of days Bill 5 Anne 10 total 15 i want to have the "total" to appear on a textbox, …

0
66
Member Avatar for jonathan.byrne

Hey! I am trying to implement a log viewer in c#. It has to read from a static text file and make it a bit more readable. Because I am new to windows forms and c#, the listview looked like the easiest way of implementing the functionality I needed (background …

Member Avatar for Ramy Mahrous
0
105
Member Avatar for jiggsroger

Hello there! I am trying to build an application here which I have to produce for my examination in a few days. A part of the appearance of the project requires me to use two listviews. The working of the project is such that the contents of the listview are …

0
49
Member Avatar for SolTec

I would like to know how to populate a listview from an MS Access database and it be all the tables with the tbl prefix? Thank you in advance for any and all assistance.

Member Avatar for nob_sambo
0
41
Member Avatar for saurabh2007

Hi, i have made an application just like windows i have everything but a filesystem and disk system what i mean is the i want a new filesystem meaning that like windows uses ListView every where to display the icons, i also want to use it but i can't get …

0
59
Member Avatar for bornok15

How can i read out and add each item on my listview? for example i have 3 columns in my listview and i want to add them to my 3 database fields..

Member Avatar for debasisdas
0
139
Member Avatar for JRSofty

Hi everyone, I've got some issues with a Listview control set to LargeIconView with an ImageList control assigned to the LargeIconImageList property of the Listview. I've got the Imagelist control's image size set to 110,110. The thumbnails which are stored in a database have a MAXIMUM size of 110 x …

0
63
Member Avatar for swabyw

I am trying to use a Listview1 instead of a datagrid1 by dropping a oledbDataadapter1 or a SQLDataAdapter1 on the Window form But having the hardest time. I can use this method: Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoad.Click Dim MyConnection As New SqlClient.SqlConnection() 'Define …

Member Avatar for Alekhan
0
174
Member Avatar for urmip

I need to show multi line address in a listview. I am using it in report format. I am able to show single line data but when i try to add multiline data, it shows it in the same line with boxes for chr(13) and chr(10). I want that it …

Member Avatar for debasisdas
0
66
Member Avatar for x2per14

hi, i am a newbie in web programming. i want to know how to add common controls in asp form.. i am using dreamweaver.. for example checkbox(although is not included in common controls on vb),like listview, dtpicker,status bar, progess bar..pls help me.. i will appreciate it.. note: asp only not …

Member Avatar for SheSaidImaPregy
0
125
Member Avatar for priyamtheone

Hello evryone, This thing is a bit foggy to me, can anyone help? I hav created a windows explorer like application using VB.Net 2005. It has a listview control by which u can browse through all the local disk drives of ur machine as well as all the folders, subfolders …

Member Avatar for Jx_Man
0
121
Member Avatar for abc_a3

Hi friends, I have a list view which contains an id and a name.... upon selecting one row i should be able to view the details of that particular row.. i.e name, age, salary etc...Im using Visual studio .net 2003 and sql server 2005..

Member Avatar for emurf
0
259
Member Avatar for Sammy79

Hi. I'm using a[B] ListView [/B]Control for the first time, and i'm facing this problem : when i use the [B][I]Details[/I][/B] View of the ListView no item is shown but with the other View types ([B][I]LargeIcon[/I][/B], [B][I]SmallIcon[/I][/B], ...) every think is ok !!!! So can you tell me where is …

Member Avatar for firuna
0
90
Member Avatar for andy38

H1, Using VB Net (2005, Access (2003) in Windows Forms., After many hour of searching and readind on the net I came to the conclusion that I have to use a dataGrigView instead of a listWiew , so I shift the listView further down below on m y form to …

0
59
Member Avatar for squidd

ok so basically I am writing a small program that does a few different things in Delphi 2007. I am very new to coding and so I hope that my terminology will be up to par. If not, please forgive me. I am loading text files into a ListView... I …

Member Avatar for Raged
0
465
Member Avatar for cordov

Hi everyone, I create the ghost image using the exellent article from [url]http://www.codeproject.com/KB/miscctrl/Ghost_drag_image.aspx?print=true[/url] The problem is when I use a custom listview or just when I want to draw the listview by myself (for example, I don't want the text of the image in the bottom, but on the left), …

0
56
Member Avatar for poonams

hi all thanks for previous reply. I have another qurey.I serched lot for this ,but did't get proper solution. Actully in my application m using vb.net2003 and access.On one form I have used tabcontrol with 2 tabpages.On 1st tabpage there is list view.I wt i want is ,when i click …

0
73
Member Avatar for stevendmar

Someone please help!! I am use to working with MS Access. So, for me, working with SQL is a downgrade at this point. But, I have to do it. I am working with Microsoft Visual Web Developer which apparently is supposed to be easy!!! The help feature is pretty extensive …

Member Avatar for ericstenson
0
100
Member Avatar for That Asian Guy

I used the following code to perform this operation in VS 2005: [code=C++] if (listView1->SelectedItems->Count > 0) { listView1->Items->RemoveAt (listView1->SelectedIndices [0]); numericUpDown1->Value -= 1; } [/code] However, I need a program to compile in VS 2003 in order for it to run on a school computer. Therefore, I inputted the …

Member Avatar for qszwdxefc
0
66
Member Avatar for AaronASterling

Hello All, I have a user define class, [code=vb] <Serializable()> Public Class City Public Name As String = "" Public State As String = "" Public URL As String = "" Public Sub New(ByVal state As String, ByVal name As String, ByVal url As String) me.State = state me.Name = …

0
103
Member Avatar for That Asian Guy

I was trying to delete the currently selected listview item using MFC methods, but obviously they werent compatible How can I accomplish this in VS 2005 (standard .NET windows forms NOT MFC? I have tried [code=C++] void CMyListView::DeleteSelectedRow() { int nIndex = GetListCtrl().GetSelectionMark(); if(nIndex != -1) { GetListCtrl().DeleteItem(nIndex); } } …

Member Avatar for That Asian Guy
0
102
Member Avatar for squidd

plenty of examples on the net for I think pascal version .00000011 hehe I cant seem to get it to work properly. Better yet, a component to load binary files into a memo, listview, richedit, etc would be even better. Any ideas? Ive been looking into this for a few …

Member Avatar for squidd
0
129
Member Avatar for Sentax

Hello, I'm just curious if anyone out there has ran across a nice ListView control replacement that does LARGE icons? What I'm trying to do is display decent size icons on the left of the control and then on the right side have a text area with title that all …

Member Avatar for Sentax
0
267
Member Avatar for ashishprem

Hi All, I need to color few items in a list box having style as checkbox. I can understand that getting this done is not so easy. But I need to do this for my project. Can i use any other component instead of listbox like listview. can someone pls …

Member Avatar for choudhuryshouvi
1
4K

The End.