Too Much Code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am writing a large and complex sub procedure in a form, and when there is
too much code I receive the error 'Common Language Runtime detected an
invalid program ' when It reaches this function.
(e-mail address removed)
 
Nathan said:
I am writing a large and complex sub procedure in a form, and when there is
too much code I receive the error 'Common Language Runtime detected an

If it is so large that it causes the compiler to choke, you should
think about refactoring it into several smaller sub-routines.
 
Be careful what you ask for, Greg...

Before you post a huge bunch of code, Nathan, please just tell us how
many lines of code this gigantic method has.
 
Back
Top