How to increase the speed of adding items to a combo box?
The original code is as below:
===============================================
//n = 11600, a is an array with n elements
For i = 1 to n
cboCombo.additem a(i)
next
===============================================
It takes about 15s to add 11600 item in a combo box
I would like to ask a faster way to do it!Thx
The original code is as below:
===============================================
//n = 11600, a is an array with n elements
For i = 1 to n
cboCombo.additem a(i)
next
===============================================
It takes about 15s to add 11600 item in a combo box
I would like to ask a faster way to do it!Thx