1,201 Topics

Member Avatar for
Member Avatar for PinoyDev

Good day to everybody! I just want to know on is there any function/solution in vb6 that offers the best/most fastest way to autocomplete listview when type in a textbox.The data should be from SQL Server using ADO connection...Ive seen this function(I've not tested it yet) from [URL="http://www.vbforums.com/showthread.php?t=438622."]http://www.vbforums.com/showthread.php?t=438622.[/URL] [code=vb] Private …

Member Avatar for PinoyDev
0
689
Member Avatar for Archenemie

I would like to use a non-final variable in an On-click listener and converting the variable to final is not an option because the variable is an ArrayList<String> which i will be altering and editing throughout the coarse of the program. This is an overview of the code I have …

Member Avatar for Archenemie
0
1K
Member Avatar for bilal_fazlani

I am looking for the a simplest for of code where I can add some items to a listview. i have 4 text boxes and 4 columns in a listview.. what could be the code to put 4 values as a single row in list view.. i managed to put …

Member Avatar for Reverend Jim
0
197
Member Avatar for RenanLazarotto

Hello there! I was tired of having to edit my hosts manually, so I just started a small app that will open a nice user interface to it for me. Most of the code is done. It opens the hosts, edits, saves, has cut, copy, paste, undo and redo functions. …

Member Avatar for RenanLazarotto
0
134
Member Avatar for throide

I need to update the items that i checked in my listview using the checkebox function of listview... cant find the solution...please help me

Member Avatar for hkdani
0
35
Member Avatar for Erlendftw

Hello there Daniweb community, today i encountered a problem while developing a Desktop Application in C# With Mysql (MySql.Data.MySqlClient). Im not using ODBC. The situation is the following: When NOT executing two queries, the data gets processed and everything works fine. However, once there are two queries, problems appear. Its …

Member Avatar for Erlendftw
0
110
Member Avatar for romz

Good Day to all, Can anyone give me an idea on how I can select an item in ListView using Right Click mouse button? Any insight would be great. Thanks

Member Avatar for romz
0
179
Member Avatar for mrbungle

I have a listview that pulls data from a MySQL and I can now [URL="http://www.daniweb.com/software-development/vbnet/threads/386126"]finally sort queries by date range [/URL] (thanks Unhnd Exception!!). Also in that query, I have it sorted by ID number. This brings me to another question. The ReportViewer pulls up a really nice report for …

Member Avatar for mrbungle
0
473
Member Avatar for Panathinaikos22

C/C++ have Datagridview-Listview-Calend and all those controls? i think c/c++ have only simple controls like msgbox/textbox/&button i have spend lot of hours to find something for win32 but nothing... exist smthing or i must draw byself :-s thats crazy...

Member Avatar for Moschops
0
130
Member Avatar for mrbungle

Hey, I need to pick from two date ranges from a couple of datetimepickers in the form. Then when I run the query, it should clear the current data in the listview, run the query, then re-populate the listview. I use the same code to simply load the listview, and …

Member Avatar for mrbungle
0
419
Member Avatar for RenanLazarotto

Hello guys! This is my current code: [CODE]using System; using System.Drawing; using System.Diagnostics; using System.Windows.Forms; namespace Finalizador_de_Processos { public partial class Form1 : Form { int IndexProcesso = 0; public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { ListaProcessos(""); } private void ListaProcessos(string name) { if (textBox1.Text …

Member Avatar for RenanLazarotto
0
118
Member Avatar for moshe12007

hello i have Listview his name is listView1 i try to refresh my listview1 but that not work!!! i just see the sam details and that no update. i try this : listView1.Update() and also listView1.Refresh() and that not work!!! the code here: file EditSelectedItem.cs [CODE] private void button1_Click(object sender, …

Member Avatar for moshe12007
0
139
Member Avatar for newbie26

how can i loop through a listview and export the subitems in a specific cell?? example: column1|column2|column3..... item1.1 |item1.2 |item1.3.... item2.1 |item2.2 |item2.3.... den in excel.... cell A1 item1.1 cell C3 item 1.2 cell A5 item 1.3 i need to place the subitems in a specific cell because i have …

0
56
Member Avatar for khentz

Hi, Here's the code of my listview,.It's already working well. It have a search box in my form, then if the use type in the search box, the result will display at the listbox. Now, what I want to do is when I choose an item in the listview, the …

0
79
Member Avatar for khentz

hi, Please help me with my listview. The listview did'nt show any list items. here's my code: [CODE] Private Sub txtSearch_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtSearch.TextChanged Dim strSearch As String strSearch = "SELECT * FROM tblMobileTracking WHERE accountNumber LIKE '" & txtSearch.Text & "%'" myConnection.Open() Dim …

Member Avatar for khentz
0
182
Member Avatar for ericko10kip

i am stuckin the printing the listview items.i have already displayed in the listview.i would like to printpreview and also print it. please help people.

Member Avatar for lolafuertes
0
209
Member Avatar for TIP.Synergy

i have a list of record that already populated but my problems is How to find out if there are any duplicates? VB.NET

Member Avatar for TIP.Synergy
0
2K
Member Avatar for khentz

Hi, I have a search textbox,I would like to know how to list all of the searched items in the list view.

Member Avatar for khentz
0
86
Member Avatar for thetraeller94

I want my to create an explorer like application. What control should i use to show the contents of a directory. I tried listview and listbox. Unfortunately i was unable to add items in a listview using the function getdirectories("D:\") I managed to do so with listbox control. But how …

Member Avatar for thetraeller94
0
243
Member Avatar for krokodajl

I have a strange problem. I have ascx control and I have only ListView in it. When I use generic method to fill this ListView with data I get Exceptiion - ListView is null. But when I use method without generics(with known parameter) everything is working fine(ListView is not null). …

Member Avatar for nakor77
0
120
Member Avatar for Srcee

I have a listview with two groups. The code is the same for Windows and Wpf applications, but when I show the listview, in Wpf application, there isn't grouping. Here' the code: [code=c] private System.Windows.Forms.ListView listView1; ListViewGroup group1 = listView1.Groups.Add(fur.GetHashCode().ToString(), fur.GetType().ToString() + " - " + fur.Message); //some more code …

Member Avatar for Srcee
0
109
Member Avatar for NetJunkie

Hello Members of DaniWeb, I have run into an issue and need help solving it. I know how to go about adding items to My.Settings and I have already created the Specialized String Collection to My.Settings called List but I am having some trouble getting the items and the subitems …

Member Avatar for NetJunkie
0
843
Member Avatar for khentz

how can i populate listview from database? If the user search for a particular column (ex.Employee) then the output will be on the listview.

Member Avatar for khentz
0
386
Member Avatar for TIP.Synergy
Member Avatar for khentz

I have a textbox for searching in my access database. For example, my database is dbEmpLis; my table name is tblEmployee; columns in my tblEmployee are fName, lName and mName. What I want to do is,when a user type to the search box, and click the search button, it will …

Member Avatar for Techyon
0
125
Member Avatar for Hari835

Hi all I had a listview showing Image and its description from the database. In that i hide the other fields like GroupID,productid(primary key),product. In the database i stored two product with the same GroupID. Now i want to get how many products are stored under the same GroupID. How …

Member Avatar for MartinPlatt
0
106
Member Avatar for ymathur

I am using a ListView control in my VB Form and I want to save all the data in my ListView control. It has 2 columns and the number of rows can keep increasing depending on the user. Please help me with this query. Thanks in advance.

Member Avatar for mb01a
0
208
Member Avatar for iefilec

hi. i just want to ask how can i populate a listview n vb.net that has a is limited by a date from and date to. i have a datetimepicker for start date and datetimepicker for end date and i want do list all the entry of my database in …

Member Avatar for MartinPlatt
0
485
Member Avatar for TIP.Synergy

listview1.items.add << it's is possible to declare a specific subitems vertically? i don't know how, but i'm still trying fix this please help here's my sample [CODE] Dim item As ListView Dim row As ListViewItem = Me.lstLicense.Items(0) With row lstLicense.subitems.Add(16).Text = (objDataReader("Division")) End With [/CODE]

Member Avatar for NetJunkie
0
197
Member Avatar for khentz

on my project, i have a search textbox and also a listview. What I want to do is when a user type in the search textbox, it will automatically list all of possible results in the listview. For example, if I type letter 'a' in the search textbox, it will …

Member Avatar for aishapot
0
90
Member Avatar for hackerjackie
Member Avatar for Reverend Jim
0
83
Member Avatar for hackerjackie
Member Avatar for Reverend Jim
0
117
Member Avatar for Jake.20

Guys, i have problem in my search button after i search the name it didn't highlight the name of the person. this is the code that i found on the internet. [CODE]Dim searchName As New TextBox Dim sname As String sname = InputBox("Search for gym user." & searchName.Text) Dim foundItem …

Member Avatar for LuckyBhumkar
0
205
Member Avatar for TIP.Synergy

it's a search listview and i want to retrieve the data all i want is to populate a data in listview per each row please help... here's my sample code [CODE] Dim objDataReader As OleDbDataReader objDataReader = objCommand.ExecuteReader If objDataReader.HasRows = 0 Then txtCostCenter.Text = "" txtDivision.Text = "" End …

Member Avatar for TIP.Synergy
0
104
Member Avatar for hackerjackie

I am using the list view and data grid to display my records!!what are the codes to be used for printing these data records......??please help me..thanks

Member Avatar for Oxiegen
0
57
Member Avatar for Lek Plepi

Hello i have created a form that has a combobox.the combobox displays the products.how can i add a selected product into a listview?????

Member Avatar for Lek Plepi
0
175
Member Avatar for Hari835

Hi all, I am currently doing a project in C#. In that i am having a listview which takes the values from the database like GroupID,GroupName.And i displayed the GroupName values in unordered list. in that if i click anyone in that list,it will have to go to an Product …

0
48
Member Avatar for leemc1989

Hi there! I have read through quite a few tutorials and videos and I am building my application quite good now, I have a webbrowser control that has a bunch of links from my website (MP3 files) now, how would I open a link and play it in my inbuilt …

0
51
Member Avatar for hackerjackie

how to add records in the list view?? And the codes to print using this list view..thanks

Member Avatar for debasisdas
0
59
Member Avatar for TIP.Synergy

Hi, all i want is to generate a random number/letter in listview per row but i don't know how to play for each.... coz' i have a list of record has already been exported to my gridview>listview so that's why there no ID for each row all i want to …

0
104
Member Avatar for jumba_4u

hi all, here my problem is i'm preety new to vb.net programming. but have a little knowledge in vb6 programming. Say, when i press the 'edit' button a listview is shown, filled with records('empcode' field from empdetail) from a access table, say 'empdetail'. now if i doubleclick on a particuler …

Member Avatar for Lek Plepi
0
1K
Member Avatar for DriveU

My Application : Windows Form Application Language : C# I have a DataGridView which I populate with some custom data. Some of the cells are DropDowns that I populate by EnumTypes Some need to be populated by Objects which are multicolumn. On Selection I want to show the MultiColumn Lists …

Member Avatar for nick.crane
0
184
Member Avatar for bettybarnes

hi guys just want to ask a simple question about listview im making a POS program.. when i click Enter button the items on textbox and comboboxes should be placed inside my listview here is my screenshot [URL="http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg"]http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg[/URL] my problem is i dont know how to put the correct codes …

Member Avatar for Ramesh Genwa
0
162
Member Avatar for barriegrant1

so im trying to load the first 2 imageIDs from 5 galleries, so here how it works, im using a stored procedure to get the top 5 galleries (galleryID). a second stored procedure is used to load the first 2 imageIDs based on the galleryID, here is the c# code …

Member Avatar for Mark76
0
146
Member Avatar for RenanLazarotto

Yay guys, it's me again. I am using the code from here: [url]http://www.daniweb.com/software-development/vbnet/code/370426[/url] to sort my listview items. But I want something more 'dynamic': when I click on a header column, I want that it changes the sorting based on the column that has been clicked. here is my code: …

Member Avatar for codeorder
0
1K
Member Avatar for Midar01

Pease please help.. with visual basic 2008. I am trying to get ListView to work but it does not for me. I already set up ListView with 3 colums, but the coding is not working first column called ITEMS, second Quantity and 3rd is PRICE. All items are on Buttons …

Member Avatar for Midar01
0
153
Member Avatar for mwenyenia07

in java or vb.net, we have controls like datagrid or listview which makes loading and displaying of large data easy.in this case, there are events like cellDoubleclick which you can use to select data from a particular column and use it as key to select particular data from database for …

Member Avatar for blocblue
0
74
Member Avatar for Jake.20

Guys need help.. I have button that adds element in array and displays the item that is added in array in the listview, And also i have button that deletes it but it's not working. Here's the code: [CODE]Private Sub btnRemove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRemove.Click …

Member Avatar for vikramrandhawa
0
243
Member Avatar for maknae10

whats wrong with this code??? the vb always tell that items is not a member? [CODE]Imports MySql.Data.MySqlClient Public Class search Public conn As New MySqlConnection Private Sub search_load(ByVal server As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If conn.State = ConnectionState.Closed Then conn.ConnectionString = "SERVER = localhost; USERID = root; …

Member Avatar for ShahanDev
0
196
Member Avatar for Jake.20

Can somebody tell me what line i get this error " Argument 'Prompt' cannot be converted to type 'string' " [CODE]Try If movieTxt.Text <> Nothing And ratingCmb.SelectedIndex <> 0 Then For a = 0 To i newItem.SubItems.Add(movieArray(a)) ListView1.Items.Add(ratingArray(a)) '// add Item to ListView. movieTxt.Clear() ratingCmb.SelectedIndex = 0 warnNoMovie.Text = "" …

Member Avatar for codeorder
0
1K

The End.