listbox conrol shows only 65000 items on vista

bhavin12300

Active member
Joined
Sep 18, 2007
Messages
44
Programming Experience
Beginner
hi i have simple application which contain one listbox.
here is scenario.
i am loading item in listbox from one file. around 130000 items in it.
when i run this application on xp computer i am able to scroll down all item perfectly from first to end.
But when i run this application on vista machine, it only shows 50% of item if i scroll down with that bar on right on listbox. but when i reach end of list (which is item number 65000) and than use "Down arrow " of listbox it move to item n umber 65001 and later and scroll bar move again center of listbox.

After i move to record number 65001 and more by clicking down arrow and use scroll bar at center to move further down to end it again shows 65000 item.

But in windows xp it shows all item perfectly.

really strange behavior. can any one know how to solve this??
 
Seems to be known:
Feedback: Listbox Doesn't Scroll Properly With More than 65000 Odd Items

just google:
listbox vista 65000

I guess they never expected that somebody would add 65k items into a listbox ...
(me too)

EDIT: forgot to give the "solution":
Unfortunately the issue that you have reported is an issue with the Windows Control that we wrap.
We unfortunately do not support Windows through this site and you would have to contact the OS team directly.
;)
 
Last edited:
so there is no way around???
will it work if i use vs2008 to create application?
You have read the link?
You have read the part I quoted?

As the MS guy stated: It's not a VS issue, it's an OS issue. Please contact MS and report the bug in Vista. You might try SP2 first before you do so, of course.

The way around is simple:
Like everybody else on this planet, for heavens sake do not use a LISTBOX to show 130k (!) items.

The reason why this error does not pop up more often seems simple: Hardly nobody ever thought that using a listbox in this way is by any means a good idea ...
 
Back
Top