Click here to Skip to main content
15,860,844 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVisual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 150787168-Jul-22 13:36
Member 150787168-Jul-22 13:36 
AnswerRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Dave Kreskowiak8-Jul-22 15:52
mveDave Kreskowiak8-Jul-22 15:52 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 150787168-Jul-22 20:09
Member 150787168-Jul-22 20:09 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Dave Kreskowiak9-Jul-22 5:23
mveDave Kreskowiak9-Jul-22 5:23 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 150787169-Jul-22 6:48
Member 150787169-Jul-22 6:48 
AnswerRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Richard MacCutchan8-Jul-22 22:08
mveRichard MacCutchan8-Jul-22 22:08 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 150787169-Jul-22 5:59
Member 150787169-Jul-22 5:59 
AnswerRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Gerry Schmitz9-Jul-22 4:47
mveGerry Schmitz9-Jul-22 4:47 
You didn't put it "in a listbox"; you created a collection with a million entries; entries which could be anything. A "listbox" is a "visual"; it "simulates" what you think you see; it's not "real"; the collection is what's "real".

You have a collection that consumes memory based on the size of the entries; that's it. And at some point, once a collection is big enough, the system starts "paging"; and if there is not enough memory, it starts thrashing. That's where the performance, or lack thereof, comes in.


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 150787169-Jul-22 6:25
Member 150787169-Jul-22 6:25 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Gerry Schmitz9-Jul-22 12:28
mveGerry Schmitz9-Jul-22 12:28 
PraiseRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 150787169-Jul-22 14:53
Member 150787169-Jul-22 14:53 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
CHill6020-Jul-22 2:37
mveCHill6020-Jul-22 2:37 
AnswerRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
CHill6020-Jul-22 2:52
mveCHill6020-Jul-22 2:52 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 1507871620-Jul-22 14:03
Member 1507871620-Jul-22 14:03 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Victor Nijegorodov20-Jul-22 20:38
Victor Nijegorodov20-Jul-22 20:38 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 1507871621-Jul-22 5:53
Member 1507871621-Jul-22 5:53 
Questionthis is my code trying to deduct qty from tableproduct after sales Pin
Titus Miclus Afful7-Jul-22 0:11
Titus Miclus Afful7-Jul-22 0:11 
AnswerRe: this is my code trying to deduct qty from tableproduct after sales Pin
Victor Nijegorodov7-Jul-22 0:31
Victor Nijegorodov7-Jul-22 0:31 
GeneralRe: this is my code trying to deduct qty from tableproduct after sales Pin
jsc427-Jul-22 1:07
professionaljsc427-Jul-22 1:07 
GeneralRe: this is my code trying to deduct qty from tableproduct after sales Pin
Richard MacCutchan7-Jul-22 1:27
mveRichard MacCutchan7-Jul-22 1:27 
AnswerRe: this is my code trying to deduct qty from tableproduct after sales Pin
Richard Deeming7-Jul-22 2:08
mveRichard Deeming7-Jul-22 2:08 
QuestionRaise Event on another Form Pin
EngrImad21-Jun-22 5:01
EngrImad21-Jun-22 5:01 
AnswerRe: Raise Event on another Form Pin
Dave Kreskowiak22-Jun-22 7:18
mveDave Kreskowiak22-Jun-22 7:18 
GeneralRe: Raise Event on another Form Pin
jsc426-Jul-22 6:23
professionaljsc426-Jul-22 6:23 
QuestionCopy Record(s) from 1 Database to Another Database with the same Tables Pin
crmfghtr20-Jun-22 16:42
crmfghtr20-Jun-22 16:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.