Too much code in Form

  • Thread starter Thread starter Nathan Smith
  • Start date Start date
N

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.
 
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.
 
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
 
Back
Top