1,201 Topics

Member Avatar for
Member Avatar for Shodow
Member Avatar for zawpai

Hi all, Could someone please explain me why "Listview.Selected" alway retuns a value? After I upload data into list view, system will highlight first line in list veiew. Although I dehighlight it and my UI will not see any selected item, but my softwre always get "return value = 1" …

Member Avatar for zawpai
0
128
Member Avatar for markjames2012

im currently working on listview and i think i need help :) all i need to do is when i click the button it select the items and so on up to the last item and set back to beginning bu im my code its just up to the first …

Member Avatar for markjames2012
0
167
Member Avatar for ImZick

hi.. how can i create a listview or Gridview which display all my data in my sql?? also with a next and previous button.. and find.. I'm been searching it for whole day but no luck.. i find a few but it required me to buy it from them?.. Can …

Member Avatar for broj1
0
2K
Member Avatar for Shodow
Member Avatar for newbie26

hi please help me..how can i add checkbox in a listview? i already set the properties of listview checkboxes to TRUE. but it appears in the first column..i wanted it on the last column.. is it possible?? or the other way: programmatically move the first column (with checkbox) to the …

Member Avatar for newbie26
0
263
Member Avatar for rdprecure

Referring to [this thread](http://www.daniweb.com/software-development/vbnet/threads/446028/how-populate-listview-in-vb.net), I am trying to do something similar. Here is a line of my code... ListView1.Items.Add(New ListViewItem({mydatarow("FirstName"), mydatarow("LastName")})) VS Intellisense marks this code with the following error: Value of type 1-dimensional array cannot be converted to System.Web.UI.WebControls.ListViewItemType Any idea what I'm doing wrong?

Member Avatar for tinstaafl
0
368
Member Avatar for GTTravis

I have a task and a half that i am sure i can do, just want to be pushed in the right direction: i have a web page (asp.net c#), on it has a button that when clicked should launch the file dialog window, users must be able to select …

Member Avatar for GTTravis
0
153
Member Avatar for iFrolox

Hello, Before anything, I want to say that I will keep looking around, but im leaving this thread here to possible get faster answers and solutions. Well, I'm trying to save multiple texts from textboxes and comboboxes, and after saving the information to a file an item will be added …

Member Avatar for iFrolox
0
180
Member Avatar for sumitrapaul123

Hi, I have to make listview editable. I am doing it on BeforeLabelEdit event. I want to do the same thing on double click of an item. How to invoke BeforeLabelEdit event on listview item double click?? Can someone help me on this. Please see my code below.` public partial …

0
97
Member Avatar for Papa_Don

Hello Group! I've looked around to see if there is specific code in VB.net to do this, but I haven't seen any. I'm using ListView/Detail and want to ensure that it is sorted ascending by one specific column. That column is called "hdrLineNo". I know that I can choose "Sorting …

Member Avatar for Jx_Man
0
8K
Member Avatar for Galbatorix

I have a list of titles i want to display to the main activity so that each time the user starts the app, they can select an option from the data they gave previously. My problem is converting the cursor to array successfully so that i can maintain the ids …

Member Avatar for peter_budo
0
128
Member Avatar for zbzHenry

hello, i am trying to save data in my listview item to access database.. i am new to programming and i am currently working on a project i need to submit very soon, this is really urgent and i will be much happy if i could get assisted as soon …

Member Avatar for Dili1234
0
615
Member Avatar for aqualove

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="icon" type="image/png" href="images/ump-logo.png" /> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Universiti Malaysia Sabah</title> <link rel="stylesheet" href="jquery.mobile-1.0.min.css" /> <link rel="stylesheet" href="_assets/css/jqm-docs.css"/> <script src="jquery.js"></script> <script src="_assets/js/jqm-docs.js"></script> <script src="jquery.mobile-1.0.min.js"></script> </head> <body> <div data-role="page" class="type-index"> <div data-role="header" data-theme="f"> <h1>Sistem Kompaun Pelajar</h1> <a …

Member Avatar for Webville312
0
184
Member Avatar for sumitrapaul123

Hi, I have creatd a custom lisview. I have subscribed to some of its event like MouseDown, DoubleClick. I want to explicitely unsubcribe it. I know GC will automatically do it but still i want to do it explicitely. Which is the best way to do this ?? Shall I …

Member Avatar for tinstaafl
0
116
Member Avatar for sumitrapaul123

Hi, i am creating a text box in listview item. How I create is, I just take the location of the item and create a textbox on that location. OnFocus over, I just take the textbox text and put it in that perticular listview item and hide the textbox. Now …

Member Avatar for sumitrapaul123
0
216
Member Avatar for terataki

Hello, I want to make something like windows explorer. So the easy part first. I added these: [CODE] ShellTreeView1: TShellTreeView; ShellListView1: TShellListView; ShellComboBox1: TShellComboBox;[/CODE] I connected them and everything is good. I can see files and I can navigate folders, drivers, e.t.c. I changed the ViewStyle attribute of ShellListView1 to …

Member Avatar for House_of_Dexter
0
1K
Member Avatar for khwo

Hi, Anyone of you know hot to get item when user click on item in the listview. I want the data in listview display in the text box, can anyone give me some advice on this? The following code is my coding at Form_Load():- Private Sub Form3_Load(ByVal sender As System.Object, …

Member Avatar for maley
0
4K
Member Avatar for Sturdy

Hi all, I'm make a program to read text file. I can read the text file but don't know how to write it to listview. This my code to read into arrays: Function ReadFileText(ByVal filename As String) As String Dim handle As Integer ' ensure that the file exists If …

Member Avatar for Sturdy
0
2K
Member Avatar for Papa_Don

Hi Group! I suppose this should be titled, "Everything You Wanted to Know about ListViews, but were Afraid to Ask". Here are my questions(s): I've used ListView with "Details". This has been great when getting smaller bits of information to easily display and edit. However I'd like to use it …

Member Avatar for pritaeas
0
109
Member Avatar for yobotiks

Hello Everyone, I have two form. First is main form which is display the data. Second is a another form which users input the values to the textboxes. I would like to make that When a user type something in textboxes in second form, these data will be shown in …

Member Avatar for ddanbe
0
2K
Member Avatar for Hazuan Nazri

Hello Friend, i hope someone can help me to solve my problem, i already put my database on datagridview, but my boss dont want it in standard color, so now i dont now how to change it, can i change the color using datagridview or i need to use another …

Member Avatar for Hazuan Nazri
0
459
Member Avatar for Nebil

Hi guys,i just wanted to know how to export a record when ever a user clicks from a listview and export it to excel by adding a worksheet whenever the record is more than 3,basically excel offers 3wrk sheets. can u help?Thank You!!!

Member Avatar for Nebil
0
343
Member Avatar for sumitrapaul123

Hi, I am new to c# windows application. I have added a listview programatically to c# win form. I want to add a listview row (editable row) dynamically on click of Add button so that user can type new items and save it. Please see the code which adds a …

Member Avatar for tinstaafl
0
3K
Member Avatar for Lethugs

Hi, Im trying to load animated GIF's from a folder to my listview, I'm able to load it but not moving One more problem is, a lot of GIF are inside that folder,but the display in listview show the same image how can i fix it, is there better way …

Member Avatar for Lethugs
0
853
Member Avatar for macphill

how do add the total of items in listview column and display the result in a text box

Member Avatar for Reverend Jim
0
242
Member Avatar for dougy83

Hi all, I have an application with a ListView of remote files. I'm trying to implement a drag-drop of these files between my application and e.g. windows explorer. I have an object implementing IDataObject used for the DragDrop operation and the files are passed in a string[]. The problem is …

Member Avatar for dougy83
0
716
Member Avatar for Papa_Don

Group, I'm working with a ListView box for the first time. I've figured out how to populate it with data from a database. I now want to click one line of that ListView and have it return each of the five cells from that line into 5 textboxes. I've written …

Member Avatar for Papa_Don
0
188
Member Avatar for Papa_Don

Hi group, I've been playing with a ListView and I'm struggling to get it to populated with info in a database. I'm hoping you may see something in my code that is creating the error. Dim con As New SqlConnection Dim cmd As New SqlCommand Dim rdr As SqlDataReader = …

Member Avatar for Hazuan Nazri
0
3K
Member Avatar for samuel terngu

pls i need a vb.net procedure using sql statement to save data with 5 columns and 10 rows from listview for example,to my access database.Thanks.

Member Avatar for Reverend Jim
0
90
Member Avatar for Nomorewine

Hello guys. I have yet another problem. I have a simple app that has "endless" scroll(simple example would be 9gag, except 9gag is a web page), the point is when user scrolls to bottom new items/articles are loaded. I have managed to do the endless scrolling, the problem is when …

0
146
Member Avatar for natehome

Hello I'm working on a music streaming website that uses groovesharks api to get stream urls. I made a javascript function that loads the stream url when a user clicks on it but it wont stream the url. I know it can stream it because i've manually put the url …

Member Avatar for LastMitch
0
337
Member Avatar for Goshutu

Hi, I have a problem with my project, regarging deletion of an element in an asp:ListView, which is connected to a SQL database using ODBC. I have succeeded adding and updating a row, but deleting does not work. When I try to delete nothing happens. I think the problem is …

Member Avatar for LastMitch
0
254
Member Avatar for Nomorewine

Hello everyone. I'm trying to do simple app that has a listview, listview is populated with info from json file. 20 items downloaded at a time. And when user is scrolling to the bottom next 20 items are loaded. Problem is when my app loads next 20 items the scrollbar …

Member Avatar for Nomorewine
0
141
Member Avatar for korathualex

How to check an item already entered in a listview if i am entering data from a combo box from both tables for an id as value member...I mean there is both software id and asset id that can be added mixed in the listview based on the group....

Member Avatar for tinstaafl
0
239
Member Avatar for samuel terngu

pls someone should help me to format the date_made and date_expired on my form's datetimepickers to "dd/MM/yyyy" date format.See the code below: Dim listofdrugs As New List(Of Drug) For Each ListItem As ListViewItem In lvDrugs.Items 'change list item and subitems to drug Dim newdrug As New Drug With newdrug .drug_id …

Member Avatar for tinstaafl
0
1K
Member Avatar for Nebil

Hi all, I was having a huge problem,i mean i spent days trying to fix it but i get the same exception everytime when i run the app. here's the thing i have a record that is loaded from the database using the listview.it works perfect for the insertion part.but …

Member Avatar for Begginnerdev
0
357
Member Avatar for keedier

hi there, im new in coding on visual basic, well, im new at coding at anything :) i have a problem on my telephone directory program that i created about listview, i was wondering if i can click the item on a listview and show the result on a new …

Member Avatar for Jx_Man
0
282
Member Avatar for grgrl

I would like to know how to take selected information from a listview and add them to a .dat file This is what i got so far but it is to save into a text file Sorry for any mistakes i am a noob Private _filepath2 As String = Application.StartupPath …

Member Avatar for grgrl
0
2K
Member Avatar for Jake.20
Member Avatar for nethzkie18
0
822
Member Avatar for aishapot

Hello, I have a listview wherein when I double click a student another form pops up where i edit the student info. When i click on cancel it goes back to the menu and when i click on the reports i want it to be able to [B]refresh[/B] so that …

Member Avatar for shah unnati
0
2K
Member Avatar for Papa_Don

Group, I've read through the tutorial regarding Listviews and SQL's (http://www.daniweb.com/software-development/vbnet/code/445801/avoiding-sql-injection-attacks). Thanks for the article. It was very imformative. So I thought I might try this with the project I'm doing. I really like how these listview look and what they can do. But I realize I need to know …

Member Avatar for Papa_Don
0
159
Member Avatar for nazmule27

**I have a problem in listview to select a specific row. I want to select a row in click event please help.** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>ListView Showing</title> <link href="CSS/yui/tblstyle.css" rel="stylesheet" type="text/css" /> <script src="js/jquery-1.2.6.min.js" …

Member Avatar for LastMitch
0
117
Member Avatar for Lobster1071

I've done some searching, but just can't find a solution to this seemingly simple problem. Maybe I'm going about it the wrong way. I simply want to highlight the row that the mouse pointer is over in a Listview (using the Details view). I know you can use the HoverSelection …

Member Avatar for tinstaafl
0
124
Member Avatar for disjes_1

Hi, in vb 6.0 the listview had a view property, if you set that property to Icons you could move the ítems wherever you wanted but now i don't see anything like that, the behaviour i want to have is like the Windows desktop where you can move the ícons …

Member Avatar for disjes_1
0
936
Member Avatar for kimangel

Hi experts, I have listview table but when I click or double click the row the data could be changed or edited? How could I disable it but still able to select every row? Many thanks! Kimangel

Member Avatar for kimangel
0
3K
Member Avatar for ImZick

Hi how can i sort using Month i have January, February.... December i want to sort it out so the user will see it from January - December my column name is "Months" and it is in subitems(0) Thank you in a advanced

Member Avatar for ImZick
0
571
Member Avatar for ImZick

Hi, Sorry i need to ask for a help again. I have a listview and a search button i want to populate my listview when i click a button to search the field name "Last Name" for example i want to search "Sample" then it will populate my listbox with …

Member Avatar for Reverend Jim
0
503
Member Avatar for rje7

I'm trying to expand on the Tab Swipe Application template. I've created a class, say x, which extends AsyncTask which reads from network and update ListView. x.execute(param1) is invoked from the static class DummyFragment. The problem is i'm confused as to how to pass the context to the following code. …

Member Avatar for rje7
0
3K
Member Avatar for nehasomany99

This is open.java file having java code. package com.example.logo; import android.app.Dialog; import android.app.ListActivity; import android.database.Cursor; import android.os.Bundle; import android.support.v4.widget.SimpleCursorAdapter; import android.view.View; import android.widget.AdapterView; import android.widget.TextView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ListView; import android.widget.Toast; public class Open extends ListActivity { DbAdapter mDb = new DbAdapter(this); @Override protected void onDestroy() { // TODO Auto-generated …

0
91

The End.