|
-
Nov 3rd, 2002, 03:48 AM
#1
Thread Starter
Hyperactive Member
.Net ListBox Limit
What is the limit for the number of items in a ListBox in .NET now?
Or is there no limit at all?
-
Nov 3rd, 2002, 09:53 AM
#2
PowerPoster
This is real easy to figure out for yourself. Just create a loop that goes to 1000000 and add an item each time. If it doesn't crash, do the loop even more times. If it does crash, go less.
-
Nov 3rd, 2002, 04:27 PM
#3
No offence intended, but if you have to worry about the size limit of a listbox then you probably need to rethink your design. Who wants to scroll through even 100 items, not me.
-
Nov 4th, 2002, 12:39 AM
#4
Thread Starter
Hyperactive Member
oh brother.
Dude, i'm asking because I don't have VB.Net yet.
I want to know.
Ever have a huge list of something??
Guess not...
-
Nov 4th, 2002, 01:04 AM
#5
Hyperactive Member
Well although I agree, who cares what the limit is, no one would ever want to load that many items into a listbox, out of boredom i figured i'd see for myself. I got to 1,059,808 items before i stopped cuz i got tired of looking at it. Climbed up to 60 megs of RAM before i killed it. Took about 3 minutes to load that far.
-
Nov 4th, 2002, 05:46 AM
#6
Thread Starter
Hyperactive Member
ok thanks. That's better then VB6. VB6 after 32,700 & something, the list count starts going crazy and counting backwards on windows XP. I remember on Windows 98 It just crashed after it hit the limit.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|