1,201 Topics

Member Avatar for
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
84
Member Avatar for BARATUM

My assignment is using mobile 6 sdk for testing and code is visual basic In my assignment, i able to add record to txt file and view it at listview, now i want to delete the record file by check the checkbox at each row of listview and click delete …

0
68
Member Avatar for westony

[CODE] private void FillList() { listView.Items.Clear(); DataTable dtPeople = GetPeople(); listView.BeginUpdate(); foreach (DataRow dr in dtPeople.Rows) { ListViewItem listItem = new ListViewItem(dr["id"].ToString()); listItem.ImageIndex = 0; // Get child rows from a parent one. // person_name is a name of relation between two // tables. DataRow[] r = dr.GetChildRows("person_name"); if (r.Length …

Member Avatar for nick.crane
0
111
Member Avatar for kieky

Hi, i really need your help.. Can u help me to get selected value from listview? So that i can read one record.. thanks before..

Member Avatar for stbuchok
0
63
Member Avatar for dmarente

I have programmatically created a listview in n # of tabpages to display information gathered from an SQL database. Once created, i want the user to be able to select an item from any of the listview's. How can i reference the selected item? This is the code that creates …

Member Avatar for GeekByChoiCe
0
168
Member Avatar for RenanLazarotto

Hello guys! Its been a very long time since I don't show up here. Now I am back with a small project for internal use, but I need a little help. I want to make a program that allows me to change file attributes, like 'hidden', 'read-only' and 'system'. It …

Member Avatar for RenanLazarotto
0
120
Member Avatar for justforsaarah

i have some data in the listview, maybe someone can help me.. how the script to insert all of the data in the listview into table.. help me please .. :( thanks,, sarah :)

Member Avatar for Mitja Bonca
0
111
Member Avatar for IamMimie

i am an IT student and i have this idea of using a listview to see all the items i have in my database and to list all the items that has been selected into a listbox. The problem is i don't know how to get those selected items that …

0
53
Member Avatar for barriegrant1

im using a stored procedure to load a number of galleries and then photos within the gallery, however when linking them to the listView only the first two photos are returned. Stored procedure [CODE] ALTER PROCEDURE dbo.test AS declare @galID int Declare c Cursor For Select Distinct gallery_id From galleries …

Member Avatar for barriegrant1
0
158
Member Avatar for BARATUM

I am having a issue as above title. How to show data from file (txt file) in list view control? Please help thanks

Member Avatar for aldeene
0
431
Member Avatar for chellemits

Hello everyone. I'm currently developing a download manager and converter for audio and video files. Does anyone know how can I get the music file from a specific folder from my computer (I already used openfiledialog) and putting it into a listview? e.g. FILE NAME FILE TYPE Born this way.mp3 …

Member Avatar for Huntondoom
0
119
Member Avatar for marethsymarina
Member Avatar for mikred11

Can't Get it right using switch on listview i need help or some suggestion about how can i convert the string array values open another layout webview.. [CODE] import android.app.ListActivity; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.Toast; public class chapters extends ListActivity { @Override protected void onCreate(Bundle …

0
56
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
883
Member Avatar for Joshua Kidd

Hello, I'd Like to do the Same thing as in this post I posted a while back. But in a Listview Control [url]http://www.daniweb.com/software-development/vbnet/threads/369754[/url] But there is no Selected rows... There is an Item Active But that did not work. And I cant find this anywhere else. Can someone help? Thanks, …

Member Avatar for Unhnd_Exception
0
92
Member Avatar for doomhades666

How can I add a timer in the listview that minuses 1 second at a time when the button starts click and stops when the stop button is clicked? Then save the remaining time in the database. Please help me in my school project. Thanks in advance. I prof. says …

Member Avatar for doomhades666
0
927
Member Avatar for barriegrant1

im trying to enable a button that is disabled within an itemTemplate, if theres a session then the button will be enabled. however i cannot access the button object in the code-behind file. HTML CODE ---------- [CODE] <div id="gal_wrap"> <asp:ListView ID="ListView1" runat="server" EnableModelValidation="false" OnPagePropertiesChanging="listItems_PagePropertiesChanging"> <LayoutTemplate> <asp:PlaceHolder ID="itemPlaceholder" runat="server" /> </LayoutTemplate> …

Member Avatar for barriegrant1
0
533
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 sandeepparekh9

Lets say you have lots of data your listview. Now you want to Group This data According to a Perticular Subitems. For Example: Suppose i have some books data in my ListView. this listview items contains Author name and Books Title. And there are 2000 Books in list view. Now …

0
291
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 bettybarnes

hi i have a stored image in my database. i want it to be displayed in picturebox. anyone here know how to that? here is my code [CODE]Private Sub ListView1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListView1.SelectedIndexChanged Dim index As ListView.SelectedIndexCollection = ListView1.SelectedIndices Dim i As Integer = …

Member Avatar for debasisdas
0
92
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 JayWeb

Hi, I have the following code: [CODE] try { var conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Database.accdb"); var cmd = new OleDbCommand("UPDATE Resources SET Image=? WHERE ResourceName=?", conn); cmd.Parameters.Add("Image", OleDbType.VarChar).Value = listView.SelectedItems[0].Tag; cmd.Parameters.Add("ResourceName", OleDbType.VarChar).Value = _username; conn.Open(); cmd.ExecuteNonQuery(); conn.Close(); } catch(Exception ex) { Console.WriteLine(ex.Message); } [/CODE] I keep getting the following error …

Member Avatar for JayWeb
0
102
Member Avatar for jonkeeler

Hi this is my first post so hello everybody, I've recently been exploring the uses of linq to use for comparisons,but really need a bit of a kickstart. Say for instance i have a listview populated with numbered names and I want to put up a message box if certain …

Member Avatar for Unhnd_Exception
0
519
Member Avatar for bettybarnes

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 from 'DBNull' to 'ListViewSubItem'. this is my …

0
63
Member Avatar for vincezed

Hello I have some doubts in listveiw I have a listview with two columns, i want to add items to the first column which are given programmatically and the other column is from database... like [CODE] column1 column2 apple from database orange " banana " so on " [/CODE] can …

Member Avatar for vincezed
0
190
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
444
Member Avatar for dnk

Hi All.. I want to get selected item on listview. Does any one know how to solve this??? I'm using vb.net 2003

Member Avatar for dnk
0
322
Member Avatar for Farhad.idrees

Hi i have 3 list view...1=Courses, 2=Semester, 3= Section.. when i select any course so in semesterlist view semester should come with respect to Corses...similary when i select semester so section should come with respect to semester...but i m not able to do it...... i have written this code... [CODE] …

Member Avatar for Mitja Bonca
0
117
Member Avatar for wenbnet

Hello Sir, I want to perform following action please help!!!!!!!!!! when i click on a item in a listview it would also show in a separate label..... i didn't know how to do this????? please help.

Member Avatar for Luc001
0
903
Member Avatar for garrypeace

Here is the ListView I have for the products page: [CODE] <asp:ListView ID="list_view" runat="server" DataSourceID="SqlDataSource1"> <ItemTemplate> <table class="single_product"> <tr> <td> <img src="<%# Eval("image") %>" /> </td> <td> <asp:Label ID="nameLabel" runat="server" Text='<%# Eval("name") %>' /> </td> <td> <asp:Label ID="descriptionLabel" runat="server" Text='<%# Eval("description") %>' /> </td> <td> <form action="comments.aspx" method="post"> <input type="hidden" …

Member Avatar for matthewskyle
0
114
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
211
Member Avatar for Jade_me
Member Avatar for jemz

Hello, Please help me, how can i populate or display my newly added list in the listview, if i will click my addbutton.can you please help me. Thank you in advance and I am hoping for your positiver response.

Member Avatar for Jx_Man
-1
189
Member Avatar for jemz

Hello, can you help me please,why is that if i insert picture on my listview and then if i have many data to display it.my listview will be destroy,it will not display properly the data.can you help me please why is this happen and how to fix this.Thank you in …

Member Avatar for dspnhn
0
85
Member Avatar for jemz

Hello can you help me please, Is it possible to load only 30 data on my listivview?after i run my program?can you helop me please. Thank you in advance and I am hoping for your positive response

Member Avatar for jemz
0
210
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
146
Member Avatar for jemz

hello... Can you help me please, how can i use the checkbox if i want to display on my listiew Active or not Active After clicking the addbutton. Example Jemz Gimz 123 then i will check the checkbox and click the Add button it should display on my listview Jemz …

Member Avatar for jemz
0
116
Member Avatar for anand4886

i am able to add items in listview at runtime ,but not able to add this items and subitems in database pls help me in code

Member Avatar for pankeel
0
94
Member Avatar for jemz

Hello, can you help me please, how can be my newly added data to be selected in my listview after i clicked my Add button.Please help me. Thank you in advance hoping for your positive response. here is my code. [CODE] Private Sub cmdadd_Click() Dim Objlist as ListItem sql = …

Member Avatar for Jx_Man
0
693
Member Avatar for Razer_90

i want to do in my program that i can drag and drop any video file and it will drag their's name one after one in the first column and when i will drag srt files (subtitles files) it will drag and drop them one after one to the other …

Member Avatar for abelLazm
0
138
Member Avatar for ryan311

hi i manage to export a data coming from listview to excel here is my code [CODE] Try ' Open output file Dim os As New StreamWriter(filename) ' Write Headers For i As Integer = 0 To ListView1.Columns.Count - 1 ' replace quotes with double quotes if necessary os.Write("""" & …

Member Avatar for Mitja Bonca
0
138
Member Avatar for pepemiso

Can you please help me in my problem regarding in using Listview in vb.net. I can manipulate some flow like searching and selecting data coming in database (SQL) but my problem is that i need a message thtat will pop up that there is no particular data in the database …

Member Avatar for kitjo
0
164
Member Avatar for lightshift

Hey, Basically I have a text box to search data from my SQL DB from, and I want the information to then display in a listview underneath. I have been trying for a while now and still can't get it to work, but on the button click it should display …

Member Avatar for kitjo
0
150
Member Avatar for kitjo

I want to extend my list-view displayed information to the next line in a column but i have tried the property it has refused what is the alternative?

Member Avatar for kitjo
0
73
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 jemz

Hello, Can you help me please im trying to use the listview but i found difficulties on it.I don't know how to display my column header in my listview.Please help me.Thank you in advance hoping for your positive response. Here is my code. [CODE] Option Explicit Private Sub Form_Load() ConnectToDB …

Member Avatar for jemz
0
3K
Member Avatar for Jazerix

Hey I'm trying to manage some processes So ive created a listview, the first column contains the name of the processes, the second should contain the id of the process, but I honestly cannot figure out how to get it working, making the "ListViewItem" control, but its not really working …

Member Avatar for Sravanthi Ch
0
118
Member Avatar for Sravanthi Ch

Hi, I need code to invert the selected items in list view. Can any one help me out.. Thanks in advance for help.. Regards, Sravanthi Ch

Member Avatar for Sravanthi Ch
0
386

The End.