Home All Groups Group Topic Archive Search About

Too much code in Form

Author
3 Jun 2006 2:39 PM
Nathan Smith
I am writing a large and complex sub procedure in a form, and when there is
a certain amount of code or more I receive the error 'Common Language
Runtime detected an invalid program' when it reaches this sub procedure
during runtime.
I am fairly new to VB.net, and don't really know how I could put that code
in
another class, or do something else.

Author
3 Jun 2006 2:48 PM
Mehdi
On Sat, 3 Jun 2006 10:39:10 -0400, Nathan Smith wrote:

> I am writing a large and complex sub procedure in a form, and when there is
> a certain amount of code or more I receive the error 'Common Language
> Runtime detected an invalid program' when it reaches this sub procedure
> during runtime.
> I am fairly new to VB.net, and don't really know how I could put that code
> in
> another class, or do something else.

Why don't you follow up your thread in the general newsgroup instead of
reposting here? People have already answered you there asking for more
information.
Author
3 Jun 2006 2:52 PM
ag
Look,
by looking at the error here I cant give u a soln.

Can u post some snippet / full code here...so we can proceed furthur to
resolve your error.

Thanks