Click here to Skip to main content
15,915,086 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Vb.net form Pin
rwestgraham11-Mar-05 9:44
rwestgraham11-Mar-05 9:44 
GeneralRe: Vb.net form Pin
H@is@here11-Mar-05 11:48
H@is@here11-Mar-05 11:48 
GeneralRe: Vb.net form Pin
rwestgraham11-Mar-05 12:24
rwestgraham11-Mar-05 12:24 
GeneralRe: Vb.net form Pin
H@is@here11-Mar-05 12:52
H@is@here11-Mar-05 12:52 
GeneralRe: Vb.net form Pin
rwestgraham11-Mar-05 14:05
rwestgraham11-Mar-05 14:05 
Generalhelp Pin
MagicGirL8310-Mar-05 19:27
MagicGirL8310-Mar-05 19:27 
GeneralOutlook Pin
Edbert P10-Mar-05 19:30
Edbert P10-Mar-05 19:30 
GeneralRe: help Pin
Dave Kreskowiak11-Mar-05 4:06
mveDave Kreskowiak11-Mar-05 4:06 
That depends on what part of the code is taking so long and how many items your adding to the ListBox.

If it's the part that's adding items to the ListBox, I noticed that you'r not preventing the control from redrawing itself every time you add an item to the control. You might want to scrap iterating through the items yourself and just use the .AddRange(Object()) method of the Items property.

I think something like this should work:
ListBox1.DisplayMember = "Subject"
ListBox1.Items.AddRange( myItems )


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralProblem in VB.Net forms. Pin
dinoang10-Mar-05 15:19
dinoang10-Mar-05 15:19 
GeneralRe: Problem in VB.Net forms. Pin
Dave Kreskowiak10-Mar-05 16:03
mveDave Kreskowiak10-Mar-05 16:03 
GeneralRe: Problem in VB.Net forms. Pin
numbrel11-Mar-05 3:46
numbrel11-Mar-05 3:46 
GeneralShow a form in a web project Pin
Spaz8010-Mar-05 11:29
Spaz8010-Mar-05 11:29 
GeneralRe: Show a form in a web project Pin
Christian Graus10-Mar-05 12:15
protectorChristian Graus10-Mar-05 12:15 
GeneralRe: Show a form in a web project Pin
rwestgraham10-Mar-05 12:31
rwestgraham10-Mar-05 12:31 
GeneralRandom Number Generator(Lottery) Pin
jarlath10-Mar-05 11:15
jarlath10-Mar-05 11:15 
GeneralRe: Random Number Generator(Lottery) Pin
rwestgraham10-Mar-05 12:14
rwestgraham10-Mar-05 12:14 
GeneralRe: Random Number Generator(Lottery) Pin
Ray Cassick10-Mar-05 12:18
Ray Cassick10-Mar-05 12:18 
GeneralRe: Random Number Generator(Lottery) Pin
Ray Cassick10-Mar-05 12:17
Ray Cassick10-Mar-05 12:17 
GeneralRe: Random Number Generator(Lottery) Pin
Christian Graus10-Mar-05 12:17
protectorChristian Graus10-Mar-05 12:17 
GeneralNotepad problem Pin
ADY00710-Mar-05 8:30
ADY00710-Mar-05 8:30 
GeneralRe: Notepad problem Pin
Ray Cassick10-Mar-05 9:04
Ray Cassick10-Mar-05 9:04 
GeneralRe: Notepad problem Pin
ADY00710-Mar-05 9:56
ADY00710-Mar-05 9:56 
GeneralRe: Notepad problem Pin
Dave Kreskowiak10-Mar-05 10:33
mveDave Kreskowiak10-Mar-05 10:33 
QuestionHow to send a VB.net project to someone else? Pin
ADY00710-Mar-05 8:27
ADY00710-Mar-05 8:27 
AnswerRe: How to send a VB.net project to someone else? Pin
rwestgraham10-Mar-05 8:59
rwestgraham10-Mar-05 8:59 

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.