Microsoft lists the limitations in their documents of vb3-vb6 such as
maximum number of controls in a form.
But I cannot find it in VB.NET.
Recently I found I cannot add any more controls in a winform.(Such as
textbox ot label controls. this form already have thousands controls of
tabcontrols, textbox, Truedbgrid,...)
when I add one more textbox, and try to debug or build the application, It
stop at
InitializeComponent()
and show a message:
Title Microsoft Develoipment Environment
An unhandled exception of type'System.InvalidProgramException' occurred in
MyProgram.exe
Addtion information: Common Language Runtime detected a invalid program.
Any idea and help.
Thanks
Chen 9 1690
Chen,
In past has Nick (Nak) tried that in this newsgroup, there should be a as he
named it (a crapy) test program somewhere to Google, I thought that the
conclussion could be taken from that, that it was just more than you can use
in a normal environment.
Cor
"M" <mx****@hotvoice.com>
... Microsoft lists the limitations in their documents of vb3-vb6 such as maximum number of controls in a form. But I cannot find it in VB.NET.
Recently I found I cannot add any more controls in a winform.(Such as textbox ot label controls. this form already have thousands controls of tabcontrols, textbox, Truedbgrid,...) when I add one more textbox, and try to debug or build the application, It stop at InitializeComponent() and show a message: Title Microsoft Develoipment Environment An unhandled exception of type'System.InvalidProgramException' occurred in MyProgram.exe
Addtion information: Common Language Runtime detected a invalid program.
Any idea and help.
Thanks
Chen
"M" <mx****@hotvoice.com> schrieb: Microsoft lists the limitations in their documents of vb3-vb6 such as maximum number of controls in a form. But I cannot find it in VB.NET.
There are no hardcoded limitations that you will reach in a normal
application, but there is a limitation in hardware resources. If a form
contains more than 50 controls, I would consider redesigning it.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
thousands of controls?! sheesh look into proper design of GUI's... 20 is
concidered a lot on a form
"M" <mx****@hotvoice.com> wrote in message
news:ud**************@TK2MSFTNGP09.phx.gbl... Microsoft lists the limitations in their documents of vb3-vb6 such as maximum number of controls in a form. But I cannot find it in VB.NET.
Recently I found I cannot add any more controls in a winform.(Such as textbox ot label controls. this form already have thousands controls of tabcontrols, textbox, Truedbgrid,...) when I add one more textbox, and try to debug or build the application, It stop at InitializeComponent() and show a message: Title Microsoft Develoipment Environment An unhandled exception of type'System.InvalidProgramException' occurred in MyProgram.exe
Addtion information: Common Language Runtime detected a invalid program.
Any idea and help.
Thanks
Chen
20???
Such as 10 labels and 10 textboxes?
Hell, 5 of them could be taken up by an address...
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... thousands of controls?! sheesh look into proper design of GUI's... 20 is concidered a lot on a form
"M" <mx****@hotvoice.com> wrote in message news:ud**************@TK2MSFTNGP09.phx.gbl... Microsoft lists the limitations in their documents of vb3-vb6 such as maximum number of controls in a form. But I cannot find it in VB.NET.
Recently I found I cannot add any more controls in a winform.(Such as textbox ot label controls. this form already have thousands controls of tabcontrols, textbox, Truedbgrid,...) when I add one more textbox, and try to debug or build the application,
It stop at InitializeComponent() and show a message: Title Microsoft Develoipment Environment An unhandled exception of type'System.InvalidProgramException' occurred
in MyProgram.exe
Addtion information: Common Language Runtime detected a invalid program.
Any idea and help.
Thanks
Chen
You wrote it I was thinking about it.
Brian Henry wrote: thousands of controls?! sheesh look into proper design of GUI's... 20 is concidered a lot on a form
20 a lot? Says who?
--
- Mitchell Vincent
??? address?
am i missing something?
my form has 20-30 controls. most of them very similar.
is there a shotcut I am not familiar with?
"CJ Taylor" <[cege] at [tavayn] dit commmmm> a écrit dans le message de
news:uS*************@TK2MSFTNGP15.phx.gbl... 20???
Such as 10 labels and 10 textboxes?
Hell, 5 of them could be taken up by an address...
"Brian Henry" <br**********@newsgroups.nospam> wrote in message news:%2****************@TK2MSFTNGP10.phx.gbl... thousands of controls?! sheesh look into proper design of GUI's... 20 is concidered a lot on a form
"M" <mx****@hotvoice.com> wrote in message news:ud**************@TK2MSFTNGP09.phx.gbl... Microsoft lists the limitations in their documents of vb3-vb6 such as maximum number of controls in a form. But I cannot find it in VB.NET.
Recently I found I cannot add any more controls in a winform.(Such as textbox ot label controls. this form already have thousands controls
of tabcontrols, textbox, Truedbgrid,...) when I add one more textbox, and try to debug or build the
application, It stop at InitializeComponent() and show a message: Title Microsoft Develoipment Environment An unhandled exception of type'System.InvalidProgramException'
occurred in MyProgram.exe
Addtion information: Common Language Runtime detected a invalid
program. Any idea and help.
Thanks
Chen
In article <#F**************@TK2MSFTNGP10.phx.gbl>, br**********@newsgroups.nospam says... thousands of controls?! sheesh look into proper design of GUI's... 20 is concidered a lot on a form
You missed a '0' at the end. You probably missed a '&H' at the begining.
You're still a little low.
--
Alan LeHun
When you are using tab control which has 5-10 pages and each page has 20-40
controls then it contain hundreds controls. If the tab contold contain
another tab then ... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: mahbubur045 |
last post by:
I am little new in php environment. For one of my project I tried to do
http communication(e.g XML message exchange) in php using cURL. is ther
any limitaion/problem/overhead using php/curl for...
|
by: Bob C. |
last post by:
I am converting a relatively large multi-user Access 97 database to
SQL Server 2000. I use about a dozen groups to manage security,
providing graduated levels of access to each group. I read that...
|
by: Jay |
last post by:
Hi
when i try to run a query using linked servers, i get the following
error.
Server: Msg 125, Level 15, State 1, Line 1
Case expressions may only be nested to level 10.
I do have more than...
|
by: Ran Davidovitz |
last post by:
Hi.
We need to create a view of our active directory users (we have 2500).
I found out that there is max page size of 1000, so we cannot get more
data.
Anyone found a solution to that...
|
by: Dennis Redfield |
last post by:
I am attempting the following:
XmlSerializer ser = new XmlSerializer(typeof(Exception));
I receive the following error:
Message: There was an error reflecting type 'System.Exception'....
|
by: Dave |
last post by:
Is there a 64K limit to the size of a SQL stored procedure ?
(ver 8.1)
-Thanks
|
by: Vikrant |
last post by:
Friends,
I have read DB2/UDB 8.x 'RESTORE DATABASE Command', with my 'limited'
knowledge & skill. I think it should address my concern, but I want
advice/ opinion / experience and any care I...
|
by: Ramesh |
last post by:
hi
Dataset object having any limitation?? How many tables we can create in the data set
Thanks
Ramesh
|
by: thor67 |
last post by:
Access 2003
XP Pro
I have created a database for a call center type envviroment used by multiple users at the same time. It is a split database. After an issue is created, there is a separte...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |