1,201 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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) | |
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 … | |
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 … | |
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 … | |
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 … | |
please can somebody help me to load a records from a textfile(random acces file)and display it into te lisview. | |
hi friends, i have a listview in form1 i want to pass tha listview to the form2. somebody have any idea. thanks | |
Hello please can somebody help me to display a listview item to a textbox. | |
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. | |
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 … | |
how to retrive the data from database table to listview box in my windows application | |
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 … | |
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 | |
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 … | |
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. | |
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 … | |
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) … | |
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 … | |
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, … | |
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 … | |
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 … | |
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. | |
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 … | |
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.. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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.. | |
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 … | |
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 … | |
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 … | |
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), … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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); } } … | |
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 … | |
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 … | |
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 … |
The End.