bugs >> vb 6.0 build error. error while creating an executable
by MikeD » Sat, 16 Sep 2006 08:50:18 GMT
But there ARE some specific reasons why you might get this.
1. Are you by any chance using MSForms2 in your VB app? MSForms is known
to cause this error. It's not intended for use in VB.
2. Have you added any new code since you last compiled? If so, you might
have exceeded VB limitation of the size of a module.
3. After re-reading your message, is this really a "VB runtime" error or is
it a "Windows" error? I ask because of the Unspecified Error you get before
the Out of Memory error. You probably need to fix the first error because
the 2nd error (the Out of Memory one) might be a result of the first error.
IOW, the first error has caused your program to become unstable so it chokes
and you get the out of memory.
4. Going to #2, if you undo your code changes, do you still get the error?
If not, then you've pinpointed the problem to the new code you've added so
that's what you need to focus your attention on.
5. Has ANYTHING about your dev PC changed? Any new programs installed?
Any updates (particularly Windows service packs, Office, and IE or any
service packs for Office or IE)?
--
Mike
Microsoft MVP Visual Basic