Click here to Skip to main content
15,796,025 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 14:36
Member 150787168-Jul-22 14:36 
AnswerRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Dave Kreskowiak8-Jul-22 16:52
mveDave Kreskowiak8-Jul-22 16:52 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 150787168-Jul-22 21:09
Member 150787168-Jul-22 21:09 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? PinPopular
Dave Kreskowiak9-Jul-22 6:23
mveDave Kreskowiak9-Jul-22 6:23 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 150787169-Jul-22 7:48
Member 150787169-Jul-22 7:48 
AnswerRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Richard MacCutchan8-Jul-22 23:08
mveRichard MacCutchan8-Jul-22 23:08 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 150787169-Jul-22 6:59
Member 150787169-Jul-22 6:59 
AnswerRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Gerry Schmitz9-Jul-22 5:47
mveGerry Schmitz9-Jul-22 5: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 7:25
Member 150787169-Jul-22 7:25 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Gerry Schmitz9-Jul-22 13:28
mveGerry Schmitz9-Jul-22 13:28 
PraiseRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 150787169-Jul-22 15:53
Member 150787169-Jul-22 15:53 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
CHill6020-Jul-22 3:37
mveCHill6020-Jul-22 3:37 
AnswerRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
CHill6020-Jul-22 3:52
mveCHill6020-Jul-22 3:52 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 1507871620-Jul-22 15:03
Member 1507871620-Jul-22 15:03 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Victor Nijegorodov20-Jul-22 21:38
Victor Nijegorodov20-Jul-22 21:38 
GeneralRe: Visual Studio List Box with 1,000,000 entries / Who else noticed this capacity? Pin
Member 1507871621-Jul-22 6:53
Member 1507871621-Jul-22 6:53 
Questionthis is my code trying to deduct qty from tableproduct after sales Pin
Titus Miclus Afful7-Jul-22 1:11
Titus Miclus Afful7-Jul-22 1:11 
AnswerRe: this is my code trying to deduct qty from tableproduct after sales Pin
Victor Nijegorodov7-Jul-22 1:31
Victor Nijegorodov7-Jul-22 1:31 
GeneralRe: this is my code trying to deduct qty from tableproduct after sales Pin
jsc427-Jul-22 2:07
professionaljsc427-Jul-22 2:07 
GeneralRe: this is my code trying to deduct qty from tableproduct after sales Pin
Richard MacCutchan7-Jul-22 2:27
mveRichard MacCutchan7-Jul-22 2:27 
AnswerRe: this is my code trying to deduct qty from tableproduct after sales Pin
Richard Deeming7-Jul-22 3:08
mveRichard Deeming7-Jul-22 3:08 
QuestionRaise Event on another Form Pin
EngrImad21-Jun-22 6:01
EngrImad21-Jun-22 6:01 
AnswerRe: Raise Event on another Form Pin
Dave Kreskowiak22-Jun-22 8:18
mveDave Kreskowiak22-Jun-22 8:18 
GeneralRe: Raise Event on another Form Pin
jsc426-Jul-22 7:23
professionaljsc426-Jul-22 7:23 
QuestionCopy Record(s) from 1 Database to Another Database with the same Tables Pin
crmfghtr20-Jun-22 17:42
crmfghtr20-Jun-22 17: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.