1,201 Topics

Member Avatar for
Member Avatar for twigan1015

Im trying to make an application that collects how many items were sold and which items they were, I was thinking something like this for checking the upc number, to see if it matches the names in the “files” [CODE] Select Case TextBox1.Text ' 0921115150 “Dark Chocolate Truffles”, 2221001501 “ …

Member Avatar for Unhnd_Exception
0
190
Member Avatar for aska07

I got a dataset which contains the following data: id code description eff_date end_date --------------------------------------------------------- 1 ADV ADVANCE 2007-12-01 2007-12-31 2 ADV ADVANCE 2008-01-01 3 BUS BUS TICKET 2005-03-09 2007-04-05 4 BUS BUS TICKET 2007-04-06 5 PET PETROL FEES 2008-01-02 2009-10-11 6 PET PETROL FEES 2009-10-12 7 BOK BOOK 2010-01-01 …

Member Avatar for aska07
0
159
Member Avatar for IDC_Sharp

OK, i made a listView and a ComboBox now i want that when ever i choose an item from the comboBox the listView will show only the items that there's subItem have the same text of the ComboBoxItem this is what i made so far, but i succeeded to do …

Member Avatar for IDC_Sharp
0
1K
Member Avatar for Trle94

As Title say i need help to make code to i get in application listview if Recyclebin has some files in it their name if not then there is no listview... Do you have any idea guys? Tnx

0
65
Member Avatar for ryan311

i manage to put a data in listview. i have a problem in searching a data. here is my code: [CODE]Dim sda As New SqlDataAdapter Dim ds As New DataSet Dim dt As New DataTable Dim NumberRow As DataRow objCon = New SqlConnection(conStr) objCon.Open() obj = objCon.CreateCommand() strSQL = "(Select …

0
82
Member Avatar for arezz09

how to combine this 2 statment.. [CODE] IsConnected("Select * from manager_table", False) Call Loader() IsConnected("Select * from Clerk_table", False) Call Loader()[/CODE] i hve 2 listview, 2 table from accessdatabase..i put listview in tabcontrol..1 in tab 1 & second in tab 2...

Member Avatar for Jx_Man
0
123
Member Avatar for ziggystarman

Hi Trying to create a xml file of bookmarks using the following code... [CODE] // Create the XmlDocument. XmlDocument^ doc = gcnew XmlDocument; //Create root doc->LoadXml( L"<bookmarks><name>Favorite Bookmarks</name></bookmarks>" ); for(int i = 0; i < this->listView1->Items->Count; i++) { XmlElement^ newElement = doc->CreateElement(L"bookmark"); //Add url XmlElement^ urlElem = doc->CreateElement( L"url" ); …

0
82
Member Avatar for arezz09

i hve crete information application... i using this code to save employee information into accessdatabase [CODE]If _contactIC = 0 Then sql = "insert into employee_table (firstname,lastname,ic,address,gender,phone,status)" & "values ('" & firstname.Text & "','" & lastname.Text & "','" & em_id.Text & "','" & em_address.Text & "','" & em_gender.Text & "','" & …

Member Avatar for debasisdas
0
139
Member Avatar for vinothmca
Member Avatar for Jx_Man
0
68
Member Avatar for Skeldave

Hi, I have a few questions which I need answering please. I have a ListView and I need to get the text in the cell which is clicked. At the moment i have this but it only works for the first cell which is clicked and throws an ArgumentOutOfRangeException if …

Member Avatar for abelLazm
0
116
Member Avatar for IDC_Sharp

there is a part in my program that you need to add item to listView, but for now it's only with text, and i want to add image as item with sub items of text. i mean that now i have something like this: _____________________________________________ a | subitem | subitem …

Member Avatar for abelLazm
0
326
Member Avatar for vincezed

can any one please help me with this... I am trying to load a treeview and listview from sql database but did not work.... so if any one know how to do that please help me with it.... Thanks vince

0
60
Member Avatar for IDC_Sharp

How to copy Checked items from first listview to another listview? i got problem with that, i made at the first listview Check boxes to every item and i want when i will click a button all the checked items will be copy (not move) to the other listView. it …

Member Avatar for vincezed
0
1K
Member Avatar for rbeach1955

I have an aspx page that has a listview. Within the listview I have a column named BADGEID. When inserting the BADGEID as a textbox with the below code, everything works properly: <asp:TextBox ID="BADGE" runat="server" Text='<%# Bind("BadgeID") %>' I need this to be a DropDownList and I changed the textbox …

Member Avatar for vgulavni
0
115
Member Avatar for arezz09

how to make search button for datagrid that can search by any thing that i hve set..for example smething like this but i use this code for listview [CODE] IsConnected("Select * from manager_table Where firstname like '" & Me.TextBox1.Text & _ "%' or status like '" & Me.TextBox1.Text & "%' …

0
60
Member Avatar for arezz09

i hve create 1 listview and all data from accessdatabase (using oledbconnection) in database hve 4 column, so in listview 4 column.. can i view only 2 column in listview, example only column 1 & 2 only in listview.. i using this code [CODE] ListView.Items.Clear() While (myDR.Read()) With ListView.Items.Add(myDR("column1")) .SubItems.Add(myDR("column2")) …

Member Avatar for debasisdas
0
136
Member Avatar for Jake.20

I need help ... again. I'm having so much problem in here, on how to multiply column 0 to column to which is. The column 0 is the quantity, and the column 2 is the price. I have a pizza hut Ordering system. Here is my problem. After i click …

0
88
Member Avatar for arezz09

i hve create 1 listview & checkbox inside listview...how to print check item in listview..

Member Avatar for dxider
0
109
Member Avatar for vincezed

Hi all.... i have found code that displays treeview and listview from database but it is done for microsoft access ... i am try this code for sql sever but end up only in exception,..... can any one modify this code to access the sql database and display the listview..... …

0
89
Member Avatar for arezz09

1. i hve create school system...so when register new student i want to upload their picture in folder,not database...when upload, all student picture will be in same folder like student picture.. 2. i'm using listview to view all student information,so i want picture display in listview column..

Member Avatar for codeorder
0
163
Member Avatar for nigelv1

Please help. Im having trouble displaying the checkbox's text in the listview form. It only display's the text of the 1st checkbox. I cant seem to display the remaining checkbox.text. It only display's the 1st checkbox in my ListView form. I have another form for ListView.vb Here is the code: …

Member Avatar for codeorder
0
105
Member Avatar for kipslem

Hello, Please help... I have a small application. When I click on a ListView row to Edit the details populated from the MS Access DB, I have the Else statement being executed all the time. Initially the code is attached behind a button named Edit. I have a Refresh button …

Member Avatar for kipslem
0
236
Member Avatar for lightshift

Hey guys, I am trying to update the Quantity field in my database on button click. I have a checkout system, and on the final checkout page it displays my basket items in a listview bulleted list. Now say there is 1 item, and the quantity is 5, upon the …

Member Avatar for lightshift
0
215
Member Avatar for Jaseem Ahmed

can u pass an idea... is this is possible to plus all that items(Integer) that are in listbox or listview... e.g a list box have 4 items... 1)-20 2)-40 3)-80 4)-100 is this possible to plus these items,??? items also can b infinite, depends upon user...i dont have any idea, …

Member Avatar for AndreRet
0
139
Member Avatar for girishsp

i have a listview in my windows application,i am able to edit particular column in listview and place textbox in that position, now i want to add the textbox text into the listview edited column, No databinding involved in this application.and my code is below.. void ListView1MouseDoubleClick(object sender, MouseEventArgs e) …

0
55
Member Avatar for bLuEmEzzy

ei guys, i am stuck in getting unchecked in listview... pls help me... thank u :) this is my code... [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For Each item As ListViewItem In ListView1.Items If CheckState.Unchecked Then MsgBox(ListView1.Items.Item(0).SubItems(1).Text) End If Next End Sub [/CODE]

Member Avatar for bLuEmEzzy
0
158
Member Avatar for Jaseem Ahmed

can u help me regarding listview control in vb 6... i want to use listview as datagrid.. i have 3 textboxes, and a list view with 3 coloums. now when i enter data textboxs, it asks "do u want to add another data?" when user enters so data, how much …

Member Avatar for peter_budo
-1
300
Member Avatar for Jaseem Ahmed

i want to delete selected record from listview and database, but when i press delete button, it deltes onlye first record of listview not selected record... here is code...[CODE] Private Delte_Click() Call Mydatacon Dim rs As adodb.Recordset Set rs = New adodb.Recordset rs.Open "SELECT * FROM AAAAA_DEMO", con, adOpenStatic, adLockOptimistic …

Member Avatar for Jx_Man
0
1K
Member Avatar for vn412

I've written a code where depending on some condition i have add item in list as [CODE] With lview .Items.Add(mydr(0)) With .Items(.Items.Count - 1).SubItems if some condition then .Add(mydr(9)) end if end with end with [/CODE] But when i call listview click event for the if condition failure cases it …

Member Avatar for codeorder
0
689
Member Avatar for girishsp

I have a ListView in my application with four columns. I want to edit two of them, one is text field and other one is date field. The other two should not be edited. And I want to write code in EditToolStripMenuItemClick event, or any other event (possibly). Can it …

Member Avatar for Mitja Bonca
0
177
Member Avatar for Jean Pion

Dear People, I want to use the ListView with larger images. For this I use the ImageList with images of 120x80 pixels. Now for each ListItem I have two images. With a timer I want to alternate the imahes like: [CODE] Private Sub Timer1_Timer() Dim i As Integer For i …

Member Avatar for AndreRet
0
423
Member Avatar for doremon89

My project is like this. Firstly we will key in the product ID in "search" button. After it finish search and highlight the product ID,I must click the product ID where it will shows another listview which contains the detail of that product. Can anyone help me??URGENT

Member Avatar for debasisdas
0
77
Member Avatar for tbanisida

I have two tables tb_Rnd1 RndId(Pk) RndWood Rndlength RndWindth RndPNo RndConst RndCft Tb_Rnd2 RndId(Fk) RndDate RndName RndTCft RndRCft RndTotalAmt If I click btn_Add Insert Records like this first RndId(Pk) RndWood Rndlength RndWindth RndPNo RndConst RndCft 1 Teakwood 23 12 1 144 X Tb_Rnd2 RndId(Fk) RndDate RndName RndTCft RndRCft RndTotalAmt 1 …

Member Avatar for abelLazm
0
183
Member Avatar for PdotWang

With ListView and ListBox, you can have multiple selections when you set the property to do so. There are different ways to delete all selected items from a ListView and ListBox, right or wrong. I have some lessons learned on the topic. (1)Use For Each loop in ListView. (It works) …

Member Avatar for WolfPack
0
3K
Member Avatar for kitschkath

[ICODE]Dim li As ListItem Dim dTotal As Integer For Each li In ListView1.ListItems dTotal = Val(dTotal + CInt(li.SubItems(3))) Next txtgrade.Text = CStr(dTotal) 'returns the total value [/ICODE] data in LIST VIEW: 90 8 50 45 I used the codes above but I can only retrieve the values (45) ?? what …

Member Avatar for Jx_Man
0
1K
Member Avatar for arezz09

i hve create checkbox in listview.. how to export check item in list view to crystal report, so i can print item that i hve check.....anyone..

Member Avatar for arezz09
0
101
Member Avatar for TheChozen

hi I have been tryingto make the columnheader of a listview fixed so the user want be able to modify it manually by mouse scrolling but i couldnt find any solution een giving it a fix width didnt work so any ideas i would be thankfull

Member Avatar for TheChozen
0
176
Member Avatar for arezz09

i have create a checkbox in listview...so i wanna know how to check it and export only check item to crystal report so i can print item that i have check... please anyone help me..

Member Avatar for codeorder
0
297
Member Avatar for MaddTechwf

How would I write a recursive function to scan the Temp Files on a computer and list all the files & folders to a ListView?

Member Avatar for Unhnd_Exception
0
368
Member Avatar for vb6explorer

Hello everyone!!! I'm a new poster here. Can somebody help me with my project. My listview is not working. :( I need to search a person's name using his/her lastname and firstname and display all the people with the same lastname or firstname and those data will display in the …

Member Avatar for TheChozen
0
237
Member Avatar for tukky

I have a listview that has order for certain computer parts such as a mother board etc. aswell as that i have several textboxes that contain customer information. I have a "Checkout" button and i was wondering if it was possible to create a 'professional' looking invoice which has the …

0
67
Member Avatar for whin_lopez
Member Avatar for whin_lopez
0
96
Member Avatar for Danny1994

Hai, i have a problems with my ListView in Visual Studio 2008. I can move this delay tab : [url]http://localhostr.com/file/ezujFtB/Unbenannt.png[/url] Like this : [url]http://localhostr.com/file/A91Yo4D/Unbenannt-3.png[/url] How can i prevent that ?, i tryed many differnt settings, but nothing seems to work.

Member Avatar for jonsca
0
128
Member Avatar for alam14_mist

[CODE] ListView listView1 = new ListView(); DataTable dataTable = new DataTable(); MoneyReceiptGateway moneyReceiptGateway = new MoneyReceiptGateway(); dataTable = moneyReceiptGateway.SelectDataForListView(narrationTextBox.Text); string[] str = new string[dataTable.Columns.Count]; foreach (DataRow rr in dataTable.Rows) { for (int coll = 0; coll <= dataTable.Columns.Count; coll++) { str[coll] = rr[coll].ToString(); } ListViewDataItem li; li = new ListViewDataItem(str); …

Member Avatar for alam14_mist
0
245
Member Avatar for xxxtian

I successfully populated my listview with an image using a dataset. I used the large icon view for my listview. I can only show a single text for an image using this. [CODE]ListViewItem lvi1 = new ListViewItem(dr["userID"].ToString()); [/CODE] How could I put another text near the image in listview? Subitems …

0
136
Member Avatar for RenanLazarotto

Hey guys! I'm making an app that allows user to select some files. But, I want it to be made inside the app, without the need of a 'OpenFileDialog' or so. My first thought was a ListView control, but I really don't know how to use it or even how …

Member Avatar for RenanLazarotto
0
120
Member Avatar for Fattman

Hi All if anyone could help me that would be great! currently i have an array which enables a user to input: Student Name Maths Mark English Mark Science Mark Array: StudentArray(25,3) i have this array output the data to a listview box. Column 1: Student Name Column 2: Maths …

Member Avatar for Fattman
0
271
Member Avatar for vn412

Hi, I have a problem with displaying output in listview in windows7. I am populating listview colum using OleDbDataReader from database which has value in string as "1,2,4,6,8,9,10" etc. But when I displays it in listview it appears as "10,9,8,6,4,2,1" i.e in opposite order but only in windows 7 not …

Member Avatar for e_ayt
0
89
Member Avatar for crazycat503

Hi, I am creating a program for television shows/programs. everything works fine...time taken by a particular program, total time wasted in a day, week and used in day, week, specific hours etc. i am having problem during data entry. after the user clicks "Add Program", it is added to a …

Member Avatar for AndreRet
0
116
Member Avatar for AngelicOne

I used to fill a listview with dataset that is set to details view. Now, I need to fill the listview with images and by that I believed that I'd set the view to large icons. How to do this? this is how I feel the listview [CODE] foreach (DataRow …

Member Avatar for Mitja Bonca
0
240

The End.