Click here to Skip to main content
15,920,217 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to Put buttons in datagrid of vb.net. Pin
Nilesh Hapse10-Feb-08 19:03
Nilesh Hapse10-Feb-08 19:03 
QuestionUserControl with static background and transparent "front-image" Pin
Radames20079-Feb-08 15:03
Radames20079-Feb-08 15:03 
GeneralRe: UserControl with static background and transparent "front-image" Pin
Dave Kreskowiak11-Feb-08 4:29
mveDave Kreskowiak11-Feb-08 4:29 
Generalstoreing encrypted passwords Pin
AAGTHosting9-Feb-08 14:10
AAGTHosting9-Feb-08 14:10 
GeneralRe: storeing encrypted passwords Pin
Thomas Stockwell9-Feb-08 15:12
professionalThomas Stockwell9-Feb-08 15:12 
GeneralRe: storeing encrypted passwords Pin
Guffa9-Feb-08 16:12
Guffa9-Feb-08 16:12 
GeneralError creating window handle. Pin
Rupesh Kumar Swami9-Feb-08 3:21
Rupesh Kumar Swami9-Feb-08 3:21 
GeneralRe: Error creating window handle. Pin
Dave Kreskowiak11-Feb-08 4:27
mveDave Kreskowiak11-Feb-08 4:27 
You're creating over 2,000 controls on a form??? I hope you like waiting for the form to paint.

This is a REALLY bad idea. I suggest you limit that to a few hundered controls.

Part of the problem you're running into is that you're create so many windows. The Handle pool is probably being exhausted, explaining the error you're getting. If you don't properly dispose and release these resources, you'll cause this problem. BTW, the Handle pool isn't specific to your app. It's a system-wide pool. So, if you run the pool dry, the entire system will start doing strange things.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




QuestionAn intrique question about Splitcontainer! Pin
JUNEYT9-Feb-08 2:38
JUNEYT9-Feb-08 2:38 
QuestionHow to collect the links in a WebBrowser Document ? [modified] Pin
SekharOne9-Feb-08 0:07
SekharOne9-Feb-08 0:07 
QuestionWhat is causing invalid index when use listviewitemcomparer? Pin
JUNEYT9-Feb-08 0:03
JUNEYT9-Feb-08 0:03 
GeneralRe: What is causing invalid index when use listviewitemcomparer? Pin
Dave Kreskowiak11-Feb-08 4:21
mveDave Kreskowiak11-Feb-08 4:21 
GeneralSelect item in combobox when index is known Pin
nishkarsh_k8-Feb-08 23:10
nishkarsh_k8-Feb-08 23:10 
GeneralRe: Select item in combobox when index is known Pin
Thomas Stockwell9-Feb-08 3:00
professionalThomas Stockwell9-Feb-08 3:00 
QuestionReporting issue Pin
Tauseef A8-Feb-08 22:35
Tauseef A8-Feb-08 22:35 
GeneralRe: Reporting issue Pin
Dave Kreskowiak11-Feb-08 4:12
mveDave Kreskowiak11-Feb-08 4:12 
Generalconnecting via LAN Pin
revath8-Feb-08 20:43
revath8-Feb-08 20:43 
GeneralRe: connecting via LAN Pin
nishkarsh_k8-Feb-08 22:52
nishkarsh_k8-Feb-08 22:52 
GeneralRe: connecting via LAN Pin
Dave Kreskowiak11-Feb-08 4:09
mveDave Kreskowiak11-Feb-08 4:09 
GeneralOpening x64 registry using a 32-bit program Pin
Techguy8-Feb-08 20:03
Techguy8-Feb-08 20:03 
GeneralRe: Opening x64 registry using a 32-bit program Pin
Techguy10-Feb-08 15:12
Techguy10-Feb-08 15:12 
GeneralRe: Opening x64 registry using a 32-bit program Pin
Dave Kreskowiak11-Feb-08 4:07
mveDave Kreskowiak11-Feb-08 4:07 
GeneralRe: Opening x64 registry using a 32-bit program Pin
Techguy11-Feb-08 11:05
Techguy11-Feb-08 11:05 
GeneralAuto-Click on run Pin
Prower8-Feb-08 16:52
Prower8-Feb-08 16:52 
GeneralRe: Auto-Click on run Pin
nishkarsh_k8-Feb-08 18:03
nishkarsh_k8-Feb-08 18:03 

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.