1,201 Topics

Member Avatar for
Member Avatar for Quast

[Click Here](http://www.imageupload.co.uk/images/2015/03/15/rtb.png) what i want is that when i write any thing on the richtextbox it appear on cell Text. I have found some codes on the internet but i don't know whats wrong: for (int i = 0; i < richTextBox1.Lines.Length; i++) { ListViewItem lvi = new ListViewItem(i.ToString()); lvi.SubItems.Add(richTextBox1.Lines[i]); …

Member Avatar for Quast
0
299
Member Avatar for mdev

Hi People, I was trying to get data from xml file to my textBoxes in another form. But i get stuck.. all morning trying, searching on google, forums.. Im trying to on double click in listview item , call my AddPerson(Form) to edit that selected person.. but all ways i …

Member Avatar for TekknoDraykko
-1
232
Member Avatar for mdev

Hi people, i need to delete selected row in ListView from xml file.. i have this code: private void tsBtnDeleteRow_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count == 0) return; XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("diogomonteiro.xml"); //XmlNodeList newXMLNodes = xmlDoc.SelectNodes("/Pessoas/Pessoa[name=wd]"); PessoaListViewItem item = (PessoaListViewItem)listView1.SelectedItems[0]; string value = item.ToString(); if (item != …

Member Avatar for JOSheaIV
0
208
Member Avatar for OMER AHMED

HI all i am working on a project where i am adding login and password. Also i add button if someone forget his\her password so they can able to retrive it. for this i put 2 textboxes one is email and other is username which will retrive data from listview. …

Member Avatar for djjeavons
0
118
Member Avatar for mdev

Form1.cs public partial class Form1 : Form { DataSet ds = new DataSet(); DataTable table = new DataTable(); //List<Pessoa> p = new List<Pessoa>(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { //Add Columns to DataTable (table) table.Columns.Add("Nome", typeof(string)); table.Columns.Add("Idade", typeof(string)); table.Columns.Add("Profissão", typeof(string)); table.Columns.Add("Signo", typeof(string)); table.Columns.Add("Morada", typeof(string)); …

Member Avatar for cgeier
0
374
Member Avatar for jez9

in my database: [tbl, nod, qty, DorT, tme, price] I wanted to call 3fields in the database, The nod[name of dish], tbl[table], DorT[dinein/takeout] nod[in listview, subitems(1)], tbl[cbtable in the form], and DorT[combobox1 in the form] In listview[LVORDER]-(qty, nod, price, total) In my case, adding order is already OK. But i've …

Member Avatar for jez9
0
160
Member Avatar for jez9

Hi again, I'm having a trouble in updating an item from listview to database I try this code , but it says syntax error in Update nod=name of dish , qty = quantity TBLORDERS - nod[text], qty[text], price[text] lvorder - qty , [subitems] - name of dish, price Dim sql …

Member Avatar for jez9
0
1K
Member Avatar for Mohammed_17

Frnd i m trying to view path with file name in listview so plz help me plz give me code for vb 2010

Member Avatar for Mr.M
0
100
Member Avatar for OMER AHMED

how to print my listview details .. i found open source with class but this is only printing my 1st column also it is printing 1st column details in all column. please tell me how i can edit it . and put my all subitems of list the class is …

Member Avatar for OMER AHMED
0
1K
Member Avatar for OMER AHMED

Dear all i need help with listview . i have 5 columns and i have 4 menustrips. i want something like below If ListView1.SelectedItems(0).SubItems(0).Text = "Advance" Then t2.Enabled = False t3.Enabled = False t4.Enabled = False ElseIf ListView1.SelectedItems(0).SubItems(0).Text = "Access" Then t1.Enabled = False t3.Enabled = False t4.Enabled = False …

Member Avatar for Minimalist
0
274
Member Avatar for 12345reasbaby
Member Avatar for Reverend Jim
0
52
Member Avatar for bonzo2008

I will not that the code below shall count up or down '********************************* Sumtax For lngIndex2 = 1 To ListView1.ListItems.Count lngTot2 = lngTot2 + ListView1.ListItems(lngIndex2).SubItems(5) Next Text10.Text = Format(lngTot2, "###0.00") if I have say 83.67 in a listview then in the text10.text shall be the same amount no differens text10.text …

Member Avatar for bonzo2008
0
159
Member Avatar for jez9

help please, i really need to solve this one. when the quantity of the product is increasing/decreasing, i want the Total Price to update/increase/decrease also, but its only remain working. the button is declare, so when i click the button , all of the info of that will be transfer/view …

Member Avatar for jez9
0
109
Member Avatar for jez9

ms access [tblorder - code[text], items[text], total[text]] code = lblcode [label] items= x.SubItems(1) [in listview] total = lbltotal [label] as of now i can only save 1 item in the field 'items' , but i want to save 2 or more items,how can i do that? For Each x As …

Member Avatar for jez9
0
285
Member Avatar for jez9

QTY-QUANTITY The Price is not increasing. I want to multiply the QTY to PRICE , when QTY is Increasing The PRICE need to increase to depends on the QTY. Private Sub clickMe(sendr As Object, ByVal e As EventArgs) Dim btn As Button = CType(sendr, Button) Dim ProdMatch As Boolean = …

Member Avatar for jez9
0
593
Member Avatar for jez9

here is my code: With RECEIPT For i = 0 To MENUORDER.lvorder.Items.Count - 1 .LstOrder.Items.Add(MENUORDER.lvorder.Items(i)) 'dont know what to do next Next i .ReceiptNo.Text = Me.lblos.Text .lblTotal.Text = Me.lbltotal.Text .lblCash.Text = Me.TextBox1.Text .lblChange.Text = Me.lblchange.Text .ShowDialog() End With [forms : RECEIPT, MENUORDER] i dont know how to display listview subitems …

Member Avatar for jez9
0
188
Member Avatar for jez9

hi, I want to Count how many times i click a button and display the number in listview. but i dont know the syntax for counting a button, can someone help me with this problem?

Member Avatar for jez9
0
11K
Member Avatar for jez9

it can only save 1 record, but i want to save 2 or more from listview to database database table: table1 , fields [receiptnum,nod,qty,price,total [all in text]] For Each x As ListViewItem In lvorder.Items sql = "insert into table1 (receiptnum,nod,qty,price,total) values ('" _ & lblos.Text & "','" _ & x.SubItems(0).Text …

Member Avatar for jez9
0
221
Member Avatar for toyanc

I am new to android programming. I tried to execute a app from one of the tutorials and it is showing runtime error. If it runs highscores menu. Application closed. Below are the error messages from logcat and the activity file. Appreciate your help. Thanks in advance. ERROR 12-15 03:49:51.124: …

Member Avatar for cool_zephyr
0
262
Member Avatar for OMER AHMED

hi all again i want to save my 3 columns of listview with data in vb.net built in settings saver how i can do that and how i can load it back when form load. i write something like this My.Settings.advance_settings.Add(TextBox2.Text) My.Settings.advance_settings1.Add(TextBox1.Text) My.Settings.advance_settings2.Add(Date.Today) my.settings.save() it will save the data but …

Member Avatar for Santanu.Das
0
1K
Member Avatar for burhanahmed92

I tried to save rows in listview control in database but i am not able to loop through each row. My listview is multicolumn, it have 4 column. I tried for loop: for (int i = 0; i < listview.Items.Count; i++) { String abc = listview.Items[i].Subitem[i].Text; //other varables } But …

Member Avatar for SteveDotNet
0
2K
Member Avatar for PinoyDev

Good day! I have a listview loaded in a form in a **lvwIcon** view with checkboxes enabled.. I have checked some items from it, let say 5 items. Now when I switch the view to **lvwReport**, the checked items are gone. How to make it selected again? Thank you for …

Member Avatar for PinoyDev
0
183
Member Avatar for TIP.Synergy
Member Avatar for Trle94

Hey guys, I have one site with API but it doesnt have any application for using api just codes how to use it, so i wanted to ask you for help. Is it possible to somehow get response from web and list it in listview? Response is looking like this: …

0
104
Member Avatar for olawole.famakin

Hello i am trying to echo a listview using php, i have made an ajax request to display the list view in my html page using div. but the list view never comes out properly, which leaves me with only one thing, that the css and javascript for this listview …

0
104
Member Avatar for ogsirus

I have written a program which allows the user to see specific SVN revision of a directory. It consists of an advanced TreeView and a ListView. The Treview is populated by the directory the user has specified and the ListView is populated when the user enters a revision number in …

Member Avatar for ogsirus
0
163
Member Avatar for nitin1

I have learnt basic android in the last month. I have learnt about fragments, listview, adapters, acitivties, intents, content providers, databases, animations. I want some basic apps' ideas in which I can implement these things and can improve my learning? I am not too good in Java also. I know …

Member Avatar for Slavi
0
132
Member Avatar for OMER AHMED

hi all ... i am designing a software where i am using login and password. the user and password is store in notepad which is connected with listview . now i dont know i mean i need something when user enter user and password it should search and if details …

Member Avatar for OMER AHMED
0
820
Member Avatar for Simon180

Am looking for a way to add a custom item image in icon view on a listview the icons I want to use is a single image bmp file with 4 icons on the image so I need a way to select each image on the file and a nice …

Member Avatar for SalmiSoft
0
245
Member Avatar for roxxime14

i have a listview connecting to xampp,then i want the data of all listview can be add to my report using report viewer?how can i do that. pls help.. <snip>

Member Avatar for Begginnerdev
0
200
Member Avatar for Trle94

Hello everyone, I need small help.. So I got working text file loading to listview, but if file is to big it get whole app stuck untill it load it out... So my question is, is it possible loading with background worker and progress bar? Here is my current source: …

Member Avatar for Reverend Jim
0
164
Member Avatar for burhanahmed92

I have a multicolumn listview. There are three button Add, delete and Updata. List is working fine, it add, delete and update list data. But i want to save every row inside listview when i click save button. Bellow is my XAML. <TextBox Canvas.Left="12" Canvas.Top="12" Height="23" Name="textBox1" Width="120" TextChanged="textBox1_TextChanged" KeyDown="textBox1_KeyDown" …

0
250
Member Avatar for haze man

Hi guys, I am pretty new here and with android development. I have created my first app and am looking to expand on it and add some more style to it. What I am trying to do is add a navigation drawer to the app. So instead of the buttons …

Member Avatar for peter_budo
0
361
Member Avatar for alfred.tasic.7

i have a problem in my code i can't get the best answer on how to double click the data in the listview and store the value in the textbox in the other form pls help me. I am very please for your response this is for my project.. thank …

Member Avatar for Reverend Jim
0
956
Member Avatar for Anish_2

I am trying the below code by not able to execute it properly, because as soon as first if is cleared then the other if statement take the previous i value. that is when i = 2 is accepted then i remain 2 all time. below is the code i …

Member Avatar for Santanu.Das
0
127
Member Avatar for sminfotech

Please can any Help me in Adding Records From Listview to MSHFlexGrid which are been selected by Checkbox from Listview

Member Avatar for Santanu.Das
0
52
Member Avatar for Waldis_1

How can I populate a listview from another form passing the SQL statement from this form to the other form with the listview showing the result of the query?

Member Avatar for Santanu.Das
0
458
Member Avatar for liphoso

Please assist, I am trying to get get one page out of three to load a google map once its loaded. the code i have is below. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="refresh" content="600"/> <title>Pollutions App</title> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <style type="text/css"> html { height: 100% } …

0
100
Member Avatar for jjones0150

Create a Visual Basic application that meets the following requirements: No buttons can be used. All actions must be handled by menu commands. (Note: This is intended only to provide experience with the use of menus. Do NOT do this in the real world.) You will create separate functions to …

Member Avatar for ddanbe
-3
180
Member Avatar for yobotiks

Hi all, I have an ArrayList that contains 70 items. I would like to display these items in Listview. Therefore, I used the following code. However, When I press the button, program will only display the first seven items in the arrayList. The rest of items are not being displayed. …

Member Avatar for RichardGalaviz
0
6K
Member Avatar for johnt68

Hello After two days of struggling I have come for some help. I have a listview of contact names that I want to search with text added into a textbox. It can either filter these as the text is entered or by a button search ... I haven't got anywhere …

Member Avatar for keskin
0
4K
Member Avatar for rathiikk

hi sir, when i adding items into the listview ,i have added serialno and 5 other columns ,so whenever i adding new item the serialno will increase one but my problem is when i removing a row from listview how to rearrange the serial numbers pls help me

Member Avatar for tinstaafl
0
107
Member Avatar for MaryRose_1

i am using this code in updating multiple data in listview but it doesn't work, what code should i replace to run this command save dbConn sample RS.Open "Select * from table where field = '" & listview.listitem & "'", , conn, adOpenKeyset, adLockOptimistic If RS.RecordCount = "0" Then

Member Avatar for Nutster
0
171
Member Avatar for Mark Anthony_2

"Visual Basic 2010" I do have a similar problem, I want to display on a listview a "top 10" highest to lowest data using MySQL as database, my problem is, I dont know the codes for displaying data sorted from highest to lowest. Anyone? Please help me. I am not …

Member Avatar for Reverend Jim
0
174
Member Avatar for rahulzephyr

Hi, <I want to add items in listview vetically. i mean i want to add 32 datawords and it should be editable and before each dataword there shouold be a serial number and it should be non editable..i have attached the screeshot please have a look at it.i just want …

Member Avatar for Fenrir()
0
123
Member Avatar for MaryRose_1
Member Avatar for LNU1

There are two classes: - ListViewActivity extends Activity, - MyAdapter extends BaseAdapter. MyAdapter overrides the getView method and creates an item in ListView, which drawn in ListViewActivity. I want to call setOnClickListener in MyAdapter.getView, but the listener must be placed in another class - not in MyAdapter. Standard approach is: …

Member Avatar for LNU1
0
5K
Member Avatar for MattuRocks

Hello, I'm using a modified version of a multiple client TCP server ([View here](http://www.drawbycode.com/blog/?p=218), and trying to have the server add an item to the listbox when a client connects. I have tested, and the client and server can communicate perfectly. I recieve the data from the client, I can …

Member Avatar for cgeier
0
177
Member Avatar for Diana Rose_1

imade this query and named it as vwOwnerAnimal. my problem is that i don't know how to display it using listview. can anyone pls help me. SELECT tbowner.owner_code, tbowner.owner_name, tbowner.owner_add, tbowner.owner_cn, tbowneranimal.a_name, tbowneranimal.a_breed, tbowneranimal.a_age, tbowneranimal.a_sex FROM tbowner INNER JOIN tbowneranimal ON tbowner.owner_code = tbowneranimal.owner_code;

Member Avatar for tinstaafl
0
212
Member Avatar for cool_zephyr

could anyone tell me how to dynamically select an item in a listview?? i tried `listview.setSelection(1);` and `listview.performItemClick(listview,3,listview.getItemIdAtPosition(3));` both of them don't work..please help me.

Member Avatar for NotoriousZeus
0
255

The End.