Hi all,
Coming from a VB.NET\C# environment back to VB6, which I have not coded for years, is a bit challenging. So, I needed to add a new form to one of our VB6 applications, which is supposed to display a list of inventory items. The Items table contains up to 6500 items. All I'am displaying is the item number and the description. In implementing a filtering option, using a textbox, I need to repopulate the items from the new recordset. So, I am clearing the items, loop through the new recordset, and add the items. Unfortunately, it takes up to five seconds to repopulate. Doing some research, I found out that by hiding the ListView and show it after the items are added, should improve its performance; however, I do not see a big difference.
Has anybody experienced this?
I need to be able to filter the list within one or two seconds.
Any ideas?
Coming from a VB.NET\C# environment back to VB6, which I have not coded for years, is a bit challenging. So, I needed to add a new form to one of our VB6 applications, which is supposed to display a list of inventory items. The Items table contains up to 6500 items. All I'am displaying is the item number and the description. In implementing a filtering option, using a textbox, I need to repopulate the items from the new recordset. So, I am clearing the items, loop through the new recordset, and add the items. Unfortunately, it takes up to five seconds to repopulate. Doing some research, I found out that by hiding the ListView and show it after the items are added, should improve its performance; however, I do not see a big difference.
Has anybody experienced this?
I need to be able to filter the list within one or two seconds.
Any ideas?