1,201 Topics
![]() | |
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 … | |
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 | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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. … ![]() | |
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 … | |
this line is throwing error "type mismatch" where lst is parameter as string/... plzz help | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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... | |
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 … | |
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. | |
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.. | |
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. … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
how to avoid duplicate lvList DoubleClick() Dim line = lvList.SelectedIndices(item.Text) lvPrint.Items.Add(lvList.Items(line).Clone()) | |
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 … | |
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 … | |
 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 … | |
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 … | |
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 … | |
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 :/ | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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) … |
The End.