1,201 Topics

Member Avatar for
Member Avatar for Doogledude123

I have a method that sets the width and height of the treeview to its parent's width and height, for some reason this isn't working. I had it working with a listview, but I decided a treeview would work best in my case. Ill supply the full FXML, and it's …

Member Avatar for Doogledude123
0
2K
Member Avatar for ponnu

I have vb form that accepts input from user,search in database(database acess) and displays matching records if any in the listview .The problem is that the search query will display only one matching record even if there are many matching records .anyone please help

Member Avatar for hannah_2
0
2K
Member Avatar for imchivaa

Hi there, I searched a lot and all the thread i viewed isn't solving my problem. I don't what's wrong with my code. First of all, i am kinda new to android programming as i just recently move from web programming to android programming. I have a listview and it's …

Member Avatar for imchivaa
1
1K
Member Avatar for LoSuper

I'm making a android app using Java, i want to make a 7 days schedule layout that can be moved horizontally centering the current day to the screen and each column can be scrollable and contains a list with a variable number elements, each element contains images and text; and …

Member Avatar for peter_budo
0
249
Member Avatar for samkri

I am developing a C# Windows Form Application. Now i am trying to select value from Listbox and load corresponding value in List view using the stored procedure. And this is my stored Procedure: ALTER PROCEDURE [dbo].[spPOExport] @BST_BESTELLUNG INT AS BEGIN SELECT BH.BST_LIEFERANT AS Product Name, BZ.BDT_REFNUMMER AS Unit Price, …

Member Avatar for hericles
0
315
Member Avatar for Qromium

Closing my program saves the entire listview. Opening the program restores the entire listview, however, each item loses it's ImageKey. How do I restore the ImageKey when reopening the program? A better way of putting it: If any item in the listview has the same name as any item from …

Member Avatar for Qromium
0
261
Member Avatar for lincemiope

Hi, I'm not sure if this is the correct section to post my question in, but since my problem refers to xaml scripting I guess so. I added a listview in my win store app from which the user can choose among several elements and click the one she wants …

0
185
Member Avatar for Papa_Don

Hi Group! I'm curious to know, is it is possible to build a custom control in Visual Basic? Specifically, I want to build a control that would be similar that would be similar to a ListView (in the Detail "view"). However the difference would be in how it actually displays. …

Member Avatar for deletedaccount
0
281
Member Avatar for junglefury

Hello daniweb, I would like to us if it possible to search using two boxes from listview in vb6… First text box is for company name then the second box is for Number…the idea is that search first in the first textbox(companyname) then the second textbox (number)will search based on …

0
123
Member Avatar for Gulzar_1
Member Avatar for Gulzar_1
0
99
Member Avatar for JOSheaIV

Alright this is reallly stumping me and rather aggravating. Long story short, I didn't like how the ListView worked in C#, so I decided it was time to build my own, using a TableLayoutPanel and a custom control I built to emulate the image and text effect. Well while testing …

Member Avatar for JOSheaIV
0
453
Member Avatar for Benjamin_4

Hi guys, i wanted to find out if its possible to use just a single listView for different activities. For instance i have three activities (Pending Jobs, Incoming Jobs, Closed Jobs) which are supposed to use a ListView, as at now i have created ListViews for all three activities but …

Member Avatar for peter_budo
0
140
Member Avatar for Doogledude123

Does clear use removeAll method for listViews? I have a program that reads a file and stores the data in multiple arrays. I then use that data from the arrays to display them in a ListView, TextFields, a ComboBox, and a TextArea. I am also using an ActionListener to get …

0
182
Member Avatar for Doogledude123

Okay, so I have a ListView populated by an Array, which is populated by a text file. I also have 3 TextBoxes which are changed to different values in multiple Arrays using the Selected Index. My problem occurs when reloading the ListView after saving the text file. The values from …

Member Avatar for JamesCherrill
0
701
Member Avatar for fakehealer

I have a 5 listview listview1 has two columns listview2 has one column listview3 has one column listview4 has one column listview5 has five column now i want this scenario in every column of listview5 in listview5 columns first column of listview5 is equal to listview1 first column the second …

Member Avatar for JobPencil
0
455
Member Avatar for DeepKiran

I Have A DataTable In MSAccess TbJform and I want to Show the Columns of TbJform in ListView.................The Columns Are JformNo,JformDate,PartyName,Bags,Packing,Loose etc.............now what sholud i do to show the all the colmns in listview...

Member Avatar for DeepKiran
0
208
Member Avatar for darrylnuyda

Hi EveryOne, Can I ask your help/suggestion: click a button to open popup window, how can i carry the one of col. info to parent window's text box when user double click the row in listview in popup window. I have a code collected in the online for PopUpform: private …

Member Avatar for darrylnuyda
0
4K
Member Avatar for Abigail.Galingan

how can i display selected records from my database(phpmyadmin) in listview using a search button? any reply will be a great help for me.. thank you.

Member Avatar for tinstaafl
0
203
Member Avatar for anielyn

hi, is it possible to sum all the items/value inside the columns of a listview? here's the situation.. assume that... Product Price J&J 45 <-----inside listview M&M 35 <-----inside listview ___________ 80 <------this will be displayed in a label please, i need help..

0
165
Member Avatar for babyluxe03

i connect my access to vb2010 using adodb. but i cant display the datas in my listview. can someone help me to solve my problem. i would really appreaciate any help. what i need is to get the column per column datas.. like how it is shown in the access. …

Member Avatar for cgeier
0
136
Member Avatar for Shodow

how to make this print fit to page my listview data doesn't fit in the page help please Private Sub PrintDetails(ByRef e As System.Drawing.Printing.PrintPageEventArgs) Static LastIndex As Integer = 0 Static CurrentPage As Integer = 0 'Getting the current dpi so the textleftpad 'will be the same on a different …

Member Avatar for oussama_1
0
366
Member Avatar for Gregd3rd

Anyone please help me., how to display selected data from database to listview using vb6, data with checkmark field. check data will be display and the not checked data will not display

Member Avatar for Gregd3rd
0
58
Member Avatar for natsume57

hi, can somebody help me? i am using visual basic 6.0 with microsoft access 2003 database i have a form that view the data from the database through the listview my problem is it says Compile Error: Method or data member not found heres my code Private Sub Form_Load() Dim …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Deep Modi

This thread may be some what confusing, and not yet sure is this can be done or not. I just get a an idea to this (and yet I am still learning, I am not expert) so I need your Help. **Thread**: I am having a form and add the …

Member Avatar for oussama_1
0
199
Member Avatar for johnnyboy123

Hi everyone, I am quite new to vb.net. Recently, I've been learning about Oledb commands and it's ability to save records in a form to a database. So, I started a project and now I am stuck. Here's the scenario: The form comprises of several comboboxes, a listview box and …

Member Avatar for Reverend Jim
0
471
Member Avatar for riayas

I have 2 forms , form one has a datagrid with 10 columns form 2 has a listview box with 4 columns i want to populate the listview columns with 4 of the values from a row in the datagrid when the row is selected and the 'add ' button …

Member Avatar for riayas
0
714
Member Avatar for matt_8

hello everyone, im pretty new in this language (vb.net) so i have difficulties understanding its function, right now i am able to populate my database to datagridview, i've been looking for some related answers. but found no luck. so i decided to post it in here. so i have this …

Member Avatar for G_Waddell
0
206
Member Avatar for Shodow

how to avoid duplicate lvList DoubleClick() Dim line = lvList.SelectedIndices(item.Text) lvPrint.Items.Add(lvList.Items(line).Clone())

Member Avatar for G_Waddell
0
227
Member Avatar for abelingaw

Was trying to save the contents of a listview column (2nd column) into a table in the dbase, 1 column of the table per content of the listview column, meaning only 1 row will be affected. Here's my code using while loop. Fcount = 2 Scount = 1 While Scount …

Member Avatar for abelingaw
0
227
Member Avatar for christan

Greetings, i'm having a problem on inserting all my items from listview to my database using stored procedure. heres my code. Dim lvItem As ListViewItem For Each lvItem In ListView1.Items With dbComm .AddParameter("@details", lvItem.Text, SqlDbType.VarChar) .ExecuteStoredProcedure("insertRecord") If .Success = False Then MsgBox("Record failed to save.") Else MsgBox("Record Saved.") End If …

Member Avatar for pawanthenerd
0
238
Member Avatar for mokushirokuxen

![7d2f0b828b7075213b3cc4ce79ce21d1](/attachments/large/4/7d2f0b828b7075213b3cc4ce79ce21d1.png "7d2f0b828b7075213b3cc4ce79ce21d1") i have 2 database listview1(from tbl_storage) listview2(fromsales) so i want my listview items and subitems to be increment or be loop correct me if im wrong with that. sellingprice and Qty.(Quantity) ex. itemno | name | qty| price | total | 1 | a | 1 | 100 …

Member Avatar for mokushirokuxen
0
457
Member Avatar for vishal anand.s

Hi my name is vishal. For the past 1 week i been in the process of creating a dashboard using listview in c# windows forms with sql server 2008. I created listview named lstDashItems and populate it from a table named USERACTIVITIES in sql server 2008. The design of USERACTIVITIES …

Member Avatar for vishal anand.s
0
390
Member Avatar for MARKAND911

I am building a winform Application. I have to create buttons dynamically based on data fetched from database. I followed following steps Created UserControl On UserControl_Load event I fetched data from database. I populated the UserControl with buttons based on number of rows i get from the database. The above …

Member Avatar for deceptikon
0
426
Member Avatar for VB 2012

lol Hi people its been 2 years im back :D I finshed high school but had too stop programming so im back to noob The problem is i cant seem to find SelectedIndex while using listview -__- I really dont want to use text to find a item :/

Member Avatar for Minimalist
0
197
Member Avatar for sash_kp

I am retrieving data from sqlite and showing it in a listview using simpleadapter.I don't have any issues regarding Layouts.Still just for your reference : list_item.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="10dp" android:paddingLeft="10dp" android:paddingRight="10dp" > <!-- Name Label --> <TextView android:id="@+id/subject" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingBottom="2dip" android:paddingTop="6dip" android:textColor="#421fc4" android:textSize="16sp" android:textStyle="bold" /> <TextView …

Member Avatar for peter_budo
0
2K
Member Avatar for MartinSoukup

Hello guys, First of all sorry for my bad english. Is there any way how to calculate in listwiev? I have a list view with two columns, ID and Number, using searching from text box. SEARCH BUTTON foreach(ListViewItem ID in listView1.Items) { if (search.Text == ID.Text) { ADD BUTTON ListViewItem …

Member Avatar for KushMishra
0
254
Member Avatar for 9tontruck

I have two layout xmls. **greeting.xml main.xml** It's really nub question. I draw greeting layout at first and draw main layout when user clicks a button in the greeting layout. Problem is that components in the main layout are null because they are not drawn yet so I can't initiate …

Member Avatar for 9tontruck
0
104
Member Avatar for Reverend Jim

I've rewritten this question a half dozen times and each time it makes less sense. In a nutshell, I want to populate a listview with large icons representing image files but I can't get them to come out unstretched. They are always stretched along the x or y axis because …

Member Avatar for Reverend Jim
0
294
Member Avatar for MartinSoukup

Im trying to do my roulette game, i already did two tetxbox (number[textbox1],bet[textbox2]) it gives me data from textboxes to listview. But i got stuck at my action button, absolutly dont know how to seach in listview. For example: listview1.text = number.text.. *(if number at listview will be same as …

Member Avatar for pritaeas
0
209
Member Avatar for MartinSoukup

Im trying to do my roulette game, i already did two tetxbox (number[textbox1],bet[textbox2]) it gives me data from textboxes to listview. But i got stuck at my action button, absolutly dont know how to seach in listview. For example: listview1.text = number.text.. *(if number at listview will be same as …

Member Avatar for KushMishra
0
497
Member Avatar for thing2

I am wondering how best to go about making this type of app. My wife told me to make it and I don't want to let her down. The use case is as follows. Click Add Item Button Edit Text Type name of item Second Edit Text- Type Price As …

Member Avatar for peter_budo
0
119
Member Avatar for gbhs

Hi Experts my excel data is copied successfully to the listview. But on importing to database, I get this error. InvalidArgument=Value of '5' is not valid for 'index' ParameterName:Index ================= I have 2 problems ================= Problem 1: What should be the problem when I importing from listview(I think it is …

Member Avatar for ling_tj
0
1K
Member Avatar for glenn_boy13

Hello, I have a listview1 in my form. And my form has the ability to fullscreen itself. In the meantime, I have this code: ListView1.AutoResizeColumns(ColumnHeaderAutoResizeStyle.HeaderSize) But that would only depend on the listview's headersize. or the column's header width. I would like my all columns to share equal width. For …

Member Avatar for deceptikon
0
537
Member Avatar for hapticz

i want to use a listview with pehaps 9 or 10 columns w header, checkbox's and then replicate the entire (or selected) lines into an identical listview. can this be done at runtime or must i prepare (header,font, etc) each subindexed listview object at design time?

Member Avatar for Minimalist
0
139
Member Avatar for game4tress

I'm trying to fill a listview with the code shown bellow, but when the listview is populated, each item is shown as: ListViewItem: {The information to display1} ListViewItem: {The information to display2} ListViewItem: {The information to display3} ListViewItem: {The information to display4} My question is, how can I display only …

Member Avatar for game4tress
0
206
Member Avatar for oks1998

Private Sub dow30_1min() command("Dow 30", "http://www.investing.com/indices/us-30-futures-technical?period=60", "1 minutes") End Sub Public Sub command(ByRef name As String, ByRef webadd As String, ByRef time As String) WebBrowser1.Navigate(webadd) Dim a As String Dim b As String Dim c As String Dim d As String Dim f As String Dim newItem As ListViewItem a …

Member Avatar for Minimalist
0
330
Member Avatar for decade

Hello everyone. I would like to ask for your help, I've been stuck in this problem for wholde day. every time I run this code it gives me an error of "The report has no tables" even though I have a dataset. my dataset is datatable that came from the …

Member Avatar for G_Waddell
0
697
Member Avatar for oks1998

Dim hTable As Hashtable = New Hashtable() Dim duplicateList As ArrayList = New ArrayList() Dim itm As ListViewItem For Each itm In ListView1.Items If hTable.ContainsKey(itm.Text) AndAlso hTable.ContainsKey(itm.SubItems(1).Text) AndAlso hTable.ContainsKey(itm.SubItems(2).Text) AndAlso hTable.ContainsKey(itm.SubItems(3).Text) Then 'duplicate duplicateList.Add(itm) Else hTable.Add(itm.Text, String.Empty) End If Next 'remove duplicates For Each itm In duplicateList ListView1.Items.Remove(itm) Next I …

Member Avatar for tinstaafl
0
1K
Member Avatar for mollyorgasm

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Xml; namespace WindowsFormsApplication2 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } List<Person> people = new List<Person>(); private void Form1_Load(object sender, EventArgs e) { string …

Member Avatar for ddanbe
0
257
Member Avatar for Rosalyn_1

I want to filter the values in the listview using the date range selected in two datetime picker. Here is my code: Dim reportstring As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\Fe\Desktop\SADsystem\SADsystem\stockroom.accdb;Jet OLEDB:Database Password=stockroom" Dim reportconn As New OleDbConnection Dim date1 As Date Dim date2 As Date date1 = Convert.ToDateTime(DateTimePicker1.Value) date2 = Convert.ToDateTime(DateTimePicker2.Value) …

Member Avatar for G_Waddell
0
845

The End.