1,201 Topics

Member Avatar for
Member Avatar for LearnVBnet

[code]Form Payment DGV.Columns.Add("FullName", "Customer") ' DGV.Columns.Add("InvNomer", "Invoice No.") DGV.Columns.Add("BalanceDue", "Total") DGV.Columns.Add("Paid", "Paid") Private Sub cmdPayList_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdPayList.Click ' where = " AND InvNomer NOT IN(" ' where = where & "'" & row(2).Value & "', " ' where = where & ")" PayList.show() …

Member Avatar for LearnVBnet
0
154
Member Avatar for kirtee2209

Hi I have a listview in a C# windows form. I have created 2 columns and set their size by using the Columns Property. The Scrollbar property is set to true and listview has been set as Details. The issue I am having is that when the listview is being …

Member Avatar for kirtee2209
0
2K
Member Avatar for LearnVBnet

I have Listview1 and listview2 After from listview1 focus to listview2 ex: row 20 keydown listview2 not go to row 21 but go to row 1, also keyUp not go to row 19 but go to row 1 any one can help, what to do Thanks

Member Avatar for LearnVBnet
0
121
Member Avatar for mayback230

Am pretty new to App development, I have 2 radio buttons(radio group), and a Generate list"button" that i want to control a listview. I already created a list which has 20 items. When you select radio button1=10, and click "generate list" button it should take me to a new screen …

0
78
Member Avatar for Panathinaikos22

Hello, this is my code [CODE]import android.app.ListActivity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.ListView; public class AnimalsActivity extends ListActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); String[] Animals = {"Cat","Dog","Horse","Pig"}; ListView lv = (ListView)findViewById(R.id.listv11); ArrayAdapter<String> _adap; _adap = new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1, Animals); lv.setAdapter(_adap); } }[/CODE] The problem is with [COLOR="Red"]ListView …

Member Avatar for Panathinaikos22
0
173
Member Avatar for Panathinaikos22

Hello, i want to know what controls are used in this image [url]http://stackoverflow.com/questions/1521640/standard-android-button-with-a-different-color[/url] For Header, seems like TextView with "steColorFilter()", if someone have any idea how i can draw like this give an example. And the 2nd thing i want is, is this in image ListView? ("San Francisco", All Neigh...") …

Member Avatar for peter_budo
0
105
Member Avatar for nesnes

just want to know how will i able to display the info description in my list view but the one that appears in the database is its id(using vb.net)

Member Avatar for poojavb
0
209
Member Avatar for sah

You cannot vote on your own post 0 I have loaded many images in a listview using ImageList in c#. When many many images are loaded then it takes a long time. So I call the method in backgroundworker. In the backgroundworker I had to add images to ImageList and …

Member Avatar for mani-hellboy
0
870
Member Avatar for unika010690

i have created a new form to display the listview that contains the field from my database..i have a problem how to do that..help please

Member Avatar for crysvinz
0
2K
Member Avatar for haqayyum

hi daniweb members I am using visual basic 2008. i have a listview and a datagridview which have both 3 columns like ProductCode,ProductName & ProductPrice. Now i want to pass listview values to datagridview in the same sequence. I want that when i double click on any row in the …

Member Avatar for codeorder
0
1K
Member Avatar for sigridish

hi everybody! i already know how to save in excel using openfiledialog. but what i want to happen is that when i save another file, i want it to be saved in my existing file but in a different sheet. can you guys help me? this is my code for …

Member Avatar for sigridish
0
680
Member Avatar for sah

I have loaded some images in a listview using imagelist in c#. Now I want to copy any image and replace into another image in the same listview using drag and drop. How could I do this? sample code would be helpful. Thanks in advance.

Member Avatar for sah
0
898
Member Avatar for LearnVBnet

I Have Listview with All transaction with column InvoiceNo Date Customer Total Now I want to filter only month transation only month with combobox selection and one textbox year Me.cboMonth.Items.Add("1") Me.cboMonth.Items.Add("2") Me.cboMonth.Items.Add("3") ........... Me.cboDate.Items.Add("12") Me.cboDate.SelectedText = 1 my column date display mm/dd/yyyy How can I selection cboMonth to filter only …

Member Avatar for LearnVBnet
0
682
Member Avatar for sdimantova

My program performs a search on a specific directory and returns a list of files with specific criteria. I want the user to be able to select an item in the list and click a button and have that file open...is this possible? The first column of my list gives …

Member Avatar for PraDevil
0
2K
Member Avatar for Shodow
Member Avatar for Reverend Jim
-1
290
Member Avatar for markee

im newbie to vb 6..can anyone give the codes in viewng the database in listview and when you double-click one of the data in listview the second form will appear or the information of click will appear.. thx..... i need your helppss....for my project.. plssssssssssss help me....... tnx...................

Member Avatar for ChrisPadgham
0
326
Member Avatar for Sravanthi Ch

Hi, I have a ListView control in WPF. I need to resize the columns of listview according to window size. Can you please let me know how to approach this. Thanks in advance for help. Regards, Sravanthi Chepooru

0
65
Member Avatar for RomeoX

Hi everybody, Actually I'm trying to do small form that has a textbox for BARCODE which when I scan an item it will add on my listview but I recieved this error that I don't know what went wrong in my code "System.NullReferenceException: Object reference not set to an instance …

Member Avatar for hericles
0
160
Member Avatar for trisha0906

hi, what i need to do is to get information from 2 tables and show it to the listview. for example, i want to get the surname, first name and middle name from the student_info table and the Payment_Status from the accounting_system. i don't want to show the information that …

Member Avatar for ChrisPadgham
0
146
Member Avatar for aishapot

How can I count the number of items in the listview. Example scenario. Today, I added students say, 20 students. and tomorrow I added another 15 students, i need to have a breakdown on how many students i have been adding per day. Please help me. Thank you guys!

Member Avatar for aishapot
0
335
Member Avatar for shandoosheri

Hi i need to get all running application not process and then list it in a listview Thank you but by the way can any one tell me how can i do an action to the selected element of a listview on buttonclick thank you all again this will help …

Member Avatar for thines01
0
286
Member Avatar for diGGity

Hi I've have a Windows form application, that provieds users to add/see and search new items, items are saved into a text file with a help of streamreader/streamwriter. My application is almost finished, but i dont know how to make a search system. This is my application: [URL="http://www.youtube.com/watch?v=Idgw52iXLRk&feature=plcp&context=C352918eUDOEgsToPDskIF-q5mZ0uP5UIRlBTolHbg"]http://www.youtube.com/watch?v=Idgw52iXLRk&feature=plcp&context=C352918eUDOEgsToPDskIF-q5mZ0uP5UIRlBTolHbg[/URL] Code: [COLOR="Red"]This …

Member Avatar for diGGity
0
249
Member Avatar for awmantonio

HI guys! I have a listview that shows all the installment amount of an item. I have a button that calculates each amount when the amount paid is entered in a textbox. With this, how can I code it deduct to the next amount if the paid amount is greater …

0
54
Member Avatar for mardTanha

hi i have a listview that keep time(Second) and text. i want when player time was equal to my listview item times label1 show its text(RealTime). it is very similar to subtitle. i tried this: [code=c] private void axWindowsMediaPlayer1_PlayStateChange(object sender, AxWMPLib._WMPOCXEvents_PlayStateChangeEvent e) { while (axWindowsMediaPlayer1.playState == WMPLib.WMPPlayState.wmppsPlaying) foreach (ListViewItem item …

Member Avatar for mardTanha
0
93
Member Avatar for theMonkey

Hi there. I need some URGENT HELP with custom controls. I'm new to WPF. How can i create a custom control with a TextBox and label? I have one but it does not show the Label and Textbox. I want the custom control to be flexible. How can I display …

0
44
Member Avatar for FirstProgrammer

hi [CODE]<asp:ListView ID="lvTabs" runat="server"> <LayoutTemplate> <table> <thead> <tr> <th>Icons</th> <th>Tabs</th> <th>Discription</th> </tr> </thead> <tr id="itemPlaceholder" runat="server"></tr> </table> </LayoutTemplate> <ItemTemplate> <tr> <td class="ListViewIcon"><asp:Label runat="server" ID="lblId"></asp:Label></td> <td class="ListView"><asp:LinkButton Font-Underline="false" runat="server" ID="Tabs"><%# Eval("Tabs")%></asp:LinkButton></td> <td class="ListView"><asp:Label runat="server" ID="lblType"><%# Eval("Dis")%></asp:Label></td> <td></td> </tr> </ItemTemplate> </asp:ListView>[/CODE] and on click event Code is [CODE]Protected Sub lvTabs_ItemCommand(ByVal sender As …

Member Avatar for postonoh
0
221
Member Avatar for gerchi152

Hi!!! I'm having hard time in manipulating a combo box with list view. For example if the selected index in the combo box is "boy" then the list view will display a database table allotted for boys and if the selected index is "girl" then the list view will display …

Member Avatar for gerchi152
0
1K
Member Avatar for csharp_user

Hi, I have tried to arrange so that when I delete a name in the listview it should also delete the name in the textfile that the listview is reading from. When I delete in the listview the name that was below the deleted name now moves up a place …

Member Avatar for LesF
0
158
Member Avatar for Simon180

Am looking for a way to search a listview for selected captain items and then for it to remove all the items that were found. demo idea to loop full list to find search string that can be changed via edit and then to delete all items that are the …

Member Avatar for pritaeas
0
135
Member Avatar for csharp_user

I made a listview that display names using a streamreader. When I select a name and delete it the name that was below in the list will then take the information of the deleted name when it's displayed in the textboxes which shows name, address and email. How can I …

Member Avatar for csharp_user
0
184
Member Avatar for mansi sharma

hey,I know the foll. Method to read the textfile line by line. & it is also working Fine. But I want to know that method which includes EOF(End Of File). Can Somebody tell me that method. [code=vb] sFilename = "C:\Listview.txt" If Dir(sFilename.ToString) <> "" Then sFileReader = System.IO.File.OpenText(sFilename) sInputLine = …

Member Avatar for thines01
0
5K
Member Avatar for trisha0906

i would like to sort the information inputted on the textbox and make it appear on the listview of another form by using the combobox. like if i inputted my Surname, First_Name and Middle_Name and i chose the "Full" item for my paytype with the id number "txtid" and the …

Member Avatar for codeorder
0
287
Member Avatar for f.sh

actually I'm developing a template using ASP.net and C#. as you can see in attached picture, my template include 3 part and i want to have partial refreshing, that's why i'm using updatepanel. in this template once the user click at the top menu it will refresh the side menu …

Member Avatar for f.sh
0
499
Member Avatar for kanyonb38
Member Avatar for kanyonb38
0
86
Member Avatar for haanjae

hello, i want to show the client's ip and machine name in ListView. Please help, Thank you. i also created code the collection for the listview collection [CODE] class ClientCollection { public string userIpadd { get; set; } public string userPcname { get; set; } public ClientCollection() { } } …

Member Avatar for haanjae
0
1K
Member Avatar for n3xtgen

I am working on a web application and using the Google API for geo-location. I am using a localDB to store locations for now and displaying them using this: [CODE]function displayItems() { readItems(LocalDB, function(items) { var appendHtml = ""; for (var i = 0; i < items.length; i++) { appendHtml …

0
59
Member Avatar for danielgr

I have started the familiarize myself with WPF and have gotten stuck with the ListView I've read a lot of documentation about binding and I can't seem to find how to populate a ListView programmatically. It seems like a lot of work to create the binding and classes, etc, just …

Member Avatar for danielgr
0
1K
Member Avatar for sigridish
Member Avatar for sigridish
0
357
Member Avatar for leoblanc

Hello everybody, I NEED HELP, I am new to VB and need to create invoice...... Here is my problem.. I created table named "tb_sale" using ms access 2007, it has 5 columns (date, product, qty, price, total) I created a listview which has same columns with tb_sale (date, product, qty, …

Member Avatar for bluehangook629
0
125
Member Avatar for vincezed

Hi all, I am trying to write a code that could show multiply values in a single cell of listview with comma separator... i am using C# with windows application... I have a attachment that show what i am asking for... Thanks in advance vince

Member Avatar for vincezed
0
203
Member Avatar for sigridish

[B]here is my code[/B] [CODE] Dim lvitem Dim iCount As Integer Dim iLoop As Integer Dim query3 = New SqlCommand query3.Connection = New SqlConnection("SERVER=localhost;UID=root;DATABASE=test") iCount = lvLogs.Items.Count() If Not lvLogs.Items.Count = 0 Then Do Until iLoop = lvLogs.Items.Count LvItem = lvLogs.Items.Item(iLoop) With LvItem query3.CommandText = "insert into wer(CustomerName,SalesGroup,CustomerType,TypeOfIndustry,RM,SeniorRM) values('" & …

Member Avatar for Reverend Jim
0
395
Member Avatar for sigridish

i have a code. i just want to save listview data to database. the title is the error that pops out here is my code [CODE] Public Sub ConnectDatabase() conn.ConnectionString = "SERVER=localhost;User id=root;database=test" Try conn.Open() MessageBox.Show("Connected") With mycommand .CommandText = "Select * from wer" '.ExecuteNonQuery() End With Catch ex As …

Member Avatar for hericles
0
229
Member Avatar for ChrisTech

I am developing a point of sale program for a project subject. The trouble im having is when i press on the button to add the item from a textbox to a listview i receive an error: See attached Screenshot. my code is: [CODE]Private Sub SalesScreen_Load(ByVal sender As Object, ByVal …

Member Avatar for Reverend Jim
0
241
Member Avatar for Mohammed Saeed

In my company, we have a big excel sheet that we use it as a data entry. This matrix is filled with the data by many employees. each employee is required to fill specfic cells in that data entry. Now, we want to automate this matrix by developing a web-based …

Member Avatar for vistriv5
0
262
Member Avatar for xwxproductions

I am writing a fake antivirus software, of course as a prank, not for MONEY. The code as follows: [ICODE] 'ImageList, 0 Low 1 Averaga 2 High If ProgressBar1.Value = 10000 Then Label4.Text = ("Scan was finished at " & My.Computer.Clock.GmtTime.ToString & ".") MsgBox(ListView1.Items.Count & " threats were detected on …

Member Avatar for lolafuertes
0
177
Member Avatar for nndung179

Hello Everybody !!! I have a problem about TreeView and ListView. I have a form to manage student. When I add, the data appear on ListView and TreeView at the same time and the same data. Everything works perfectly. But one proble about Delete button. I choose the line from …

Member Avatar for nndung179
0
1K
Member Avatar for darahz

Hello, i have just a simple question. Is there a way to select the next item in a listview by pressing a button? I have been using listbox for along time now and its pretty easy to do there [CODE]ListBox1.SelectedIndex = ListBox1.SelectedIndex + 1[/CODE], any idea how to do it …

Member Avatar for Oxiegen
0
55
Member Avatar for bilal_fazlani

i know crystal reports can access data stored database.. what I want is actually to create a report on the basis of a listview values..no database at all. how do I pass these listview items and subitems to crystal reports... please help guys..

Member Avatar for bilal_fazlani
0
126
Member Avatar for mokong

hi guys, i have a problem regarding on how to view the image in the database when i select one information in my list view. and change it when i select another. Public Sub studentList() Me.ListView1.ListItems.clear Set rs = New ADODB.Recordset With rs .Open "select * from tblStudentProfile", db, 3, …

Member Avatar for mokong
0
119
Member Avatar for Panathinaikos22

Who will spend little time to Create a guide about [code] HWND hw = CreateWindowEx( params ) [/code] in C/C++ That i want is a guide were you will have examples for all controls (Ritchtb, tb, button, tree, nodes, Listview, contextmenu, toolstrip menu, label... etc) PS: as i know CreateWindowEx …

Member Avatar for Ancient Dragon
0
173

The End.