• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 327
  • Last Modified:

maximum item count of listbox

when populate listbox, how many items can I add to listbox? (maximum limit)
0
apig
Asked:
apig
  • 3
  • 3
  • 3
  • +3
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
isn't it 32767 ?
0
 
TaconvinoCommented:
I think that's for VB 3.0.  For VB 6, I think it's 2^(32-1).
2,147,483,648 if i'm not mistaken.

TVC
0
 
appariCommented:
it's 32736
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
bistricaCommented:
create a test
add items in loop and you'll know
0
 
boyzlCommented:
VB6SP3 tested:

 
i = 0
Do
    i = i + 1
    List1.AddItem Str$(i)
Loop

item no.32737 generates error invalid proc call or ARGUMENT
so the max is definitely 32736 items

regards
0
 
TaconvinoCommented:
You're right.  I've been deceived!! :)

TCV
0
 
appariCommented:
have you finished testing or not:)
0
 
TaconvinoCommented:
Well... Three months seem more than enough to test...

TCV
0
 
GPrentice00Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

 -->Delete - no points refunded

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER

GPrentice00
Cleanup Volunteer
0
 
GPrentice00Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

 -->Accept boyzl's comment as Answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER

GPrentice00
Cleanup Volunteer
0
 
GPrentice00Commented:
reconsidered
0
 
appariCommented:
why?
-->Accept boyzl's comment as Answer

if you see my comment its same answer only difference boyzl's commente added a test procedure and my comment is direct answer to the question.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 3
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now