|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Max amount of data for a formIs there a maximum amount of data that can be loaded onto a form, or processed by a form??
I am building a standalone application, which has a load of data accociated with a button click event. After adding the latest batch of data, and debug building, I get the following error: An unhandled exception of type 'System.InvalidProgramException' occurred in system.windows.forms.dll Additional information: Common Language Runtime detected an invalid program. Now I realise that this is probably not the most efficient way to go about this, but as a learning developer, I need to discover the limits of VB.Net. Thanks for any pointers or help Steve I don't think the Framework itself poses any defined limits - they can
rather be imposed by the amount of memory or computing resources available. More than that, this exception does not mean you have exceeded some resource limit - it's meaning, according to MSDN, is: "The exception that is thrown when a program contains invalid Microsoft intermediate language (MSIL) or metadata. Generally this indicates a bug in the compiler that generated the program." Also, MSDN suggests that the following KB article is reviewed: Q312544, "What to Do If You Receive an InvalidProgramException Error Message" -- Show quoteSincerely, Dmitriy Lapshin [C# / .NET MVP] Bring the power of unit testing to the VS .NET IDE today! http://www.x-unity.net/teststudio.aspx "Stephen Dougherty via DotNetMonster.com" <fo***@DotNetMonster.com> wrote in message news:8039c889d68c4abc875b54e245abc77a@DotNetMonster.com... > Is there a maximum amount of data that can be loaded onto a form, or > processed by a form?? > > I am building a standalone application, which has a load of data > accociated with a button click event. > > After adding the latest batch of data, and debug building, I get the > following error: > > An unhandled exception of type 'System.InvalidProgramException' occurred > in system.windows.forms.dll > > Additional information: Common Language Runtime detected an invalid > program. > > Now I realise that this is probably not the most efficient way to go about > this, but as a learning developer, I need to discover the limits of > VB.Net. > > Thanks for any pointers or help > Steve > > -- > Message posted via http://www.dotnetmonster.com |
|||||||||||||||||||||||