ralan Posted February 18, 2004 Posted February 18, 2004 I can't seem to find in the VB.NET documentation what the current limits are for the number of controls on a form and limits of that sort. Can anyone point me in the right direction? Thanks, ralan Quote
*Experts* mutant Posted February 18, 2004 *Experts* Posted February 18, 2004 As far as I know (I could be wrong as I never looked into this stuff) the only limit would be the memory, and then when no more handles can be created you will receieve an error and no more controls will be created. (you can try that, simply create a long loop and keep adding controls to the form) Quote
ralan Posted February 19, 2004 Author Posted February 19, 2004 Control limits redux mutant, Thanks for the reply. In the old days of VB there definitely were published limits as to how many controls a form could contain etc. and didn't appear to be limited by memory. They were fixed amounts, typically things like 32,767 and other pc architecture related numbers. It may be that the .NET form controls operate differently because of the .NET Framework and that there are no limits. I did run a test last night and had a sample app crash adding the 9886th radio button to a single form. Doesn't seem like a lot. I'm going to run more tests. If anyone stumbles across published limits I'd love to hear about it. Thanks again mutuant! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.