Click here to Skip to main content
15,887,027 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Excel and forms Pin
Johan Hakkesteegt29-Jul-09 23:17
Johan Hakkesteegt29-Jul-09 23:17 
QuestionObject/Structure References [modified] Pin
Ed Hill _5_29-Jul-09 4:54
Ed Hill _5_29-Jul-09 4:54 
AnswerRe: Object/Structure References Pin
Johan Hakkesteegt29-Jul-09 21:32
Johan Hakkesteegt29-Jul-09 21:32 
GeneralRe: Object/Structure References Pin
Ed Hill _5_30-Jul-09 2:11
Ed Hill _5_30-Jul-09 2:11 
GeneralRe: Object/Structure References Pin
Johan Hakkesteegt30-Jul-09 2:38
Johan Hakkesteegt30-Jul-09 2:38 
GeneralRe: Object/Structure References Pin
Ed Hill _5_30-Jul-09 6:33
Ed Hill _5_30-Jul-09 6:33 
GeneralRe: Object/Structure References Pin
Johan Hakkesteegt30-Jul-09 21:28
Johan Hakkesteegt30-Jul-09 21:28 
AnswerRe: Object/Structure References Pin
Dave Kreskowiak30-Jul-09 2:19
mveDave Kreskowiak30-Jul-09 2:19 
Well, the other problem you have, besides loading way too many controls on a form, is performance when the form has to redraw itself. A large number of controls simply takes longer and longer to render and gets worse as you add controls. You cannot move this to a background thread.

Back to your original problem, I don't really see this as a viable solution considering all controls have to be created on the UI thread. Creating them on a seperate thread causes problems for messages crossing thread boundries when they a dispatched from the app's message pump. You can very easily run into issues with your GUI that are funky and hard to replicated and diagnose.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




AnswerRe: Object/Structure References Pin
Ed Hill _5_31-Jul-09 0:27
Ed Hill _5_31-Jul-09 0:27 
Questionhow to search for a word in a book programmatically in dot net? Pin
tadeze29-Jul-09 3:18
tadeze29-Jul-09 3:18 
AnswerRe: how to search for a word in a book programmatically in dot net? Pin
Johan Hakkesteegt29-Jul-09 3:41
Johan Hakkesteegt29-Jul-09 3:41 
QuestionFormat Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
CPK_201129-Jul-09 1:57
CPK_201129-Jul-09 1:57 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Vimalsoft(Pty) Ltd29-Jul-09 2:14
professionalVimalsoft(Pty) Ltd29-Jul-09 2:14 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Tim Carmichael29-Jul-09 2:54
Tim Carmichael29-Jul-09 2:54 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Dave Kreskowiak29-Jul-09 3:54
mveDave Kreskowiak29-Jul-09 3:54 
AnswerRe: Format Number in VB 6.0 - Eg. 1 to "One", 222 to "Two Hundred and Twenty Two" Pin
Christian Graus29-Jul-09 10:51
protectorChristian Graus29-Jul-09 10:51 
QuestionHolding collections in memory, good or bad idea? Pin
Jay Royall28-Jul-09 22:34
Jay Royall28-Jul-09 22:34 
AnswerRe: Holding collections in memory, good or bad idea? Pin
Mycroft Holmes28-Jul-09 23:32
professionalMycroft Holmes28-Jul-09 23:32 
GeneralRe: Holding collections in memory, good or bad idea? Pin
Jay Royall28-Jul-09 23:40
Jay Royall28-Jul-09 23:40 
GeneralRe: Holding collections in memory, good or bad idea? Pin
Ed Hill _5_29-Jul-09 5:05
Ed Hill _5_29-Jul-09 5:05 
GeneralRe: Holding collections in memory, good or bad idea? Pin
Jay Royall29-Jul-09 5:15
Jay Royall29-Jul-09 5:15 
GeneralRe: Holding collections in memory, good or bad idea? Pin
Mycroft Holmes29-Jul-09 14:04
professionalMycroft Holmes29-Jul-09 14:04 
QuestionHow to Import only table wiht out data in sql server 2000 Pin
rajesh_ncc28-Jul-09 20:29
rajesh_ncc28-Jul-09 20:29 
AnswerRe: How to Import only table wiht out data in sql server 2000 Pin
Christian Graus28-Jul-09 21:47
protectorChristian Graus28-Jul-09 21:47 
AnswerRe: How to Import only table wiht out data in sql server 2000 Pin
Mycroft Holmes28-Jul-09 23:33
professionalMycroft Holmes28-Jul-09 23:33 

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.