Home > Software engineering >  Runtime error 6, overflow
Runtime error 6, overflow

Time:09-26


Hello, everyone, generate documents error runtime error 6, overflow
How to find the reason? Internet, said article may be a data record number exceeds the maximum
Company development, find someone else now encounter problems, contact less than previously developed one, this is what to do?

CodePudding user response:

"Overflow" wrong, of course, is a numerical exceeds the maximum limit data types or less than the minimum,
He write code, without exception handling, you in the message box midpoint "sure", after the process will be "cutting back" system,

This problem normally only processed from the "source", modify the exe file to solve this problem is particularly troublesome,

CodePudding user response:

If you have the source code, can be explained by running to find the problem.

CodePudding user response:

Estimation is defined as an int type, as a result, more than 32767 overflow problem, pure exe changes are difficult, after all, not pure interpreted

CodePudding user response:

reference sysdzw reply: 3/f
estimation is defined as an int type, the result is beyond 32767 overflow problem, pure exe changes are difficult, after all, is not pure interpreted running


I have the source code, can you help to see

CodePudding user response:

reference 4 floor zhubishu response:
Quote: reference sysdzw reply: 3/f

Estimation is defined as an int type, as a result, more than 32767 overflow problem, pure exe changes are difficult, after all, is not pure interpreted running


I have the source code, can you help to see

Have the source code, it is more easily solved the
You just said, for what kind of operation, the overflow error, basically can quickly find the location of the error,
Of course we don't have the corresponding data source to debug, some is a little trouble,

Only in the clear "data source" data structure, range, the software of "what to do + to do" cases,
Have designed reasonable, high efficiency, stable operation of the program code,

CodePudding user response:

Why don't have the source code, VB IDE operation, after the error pop-up dialog box to determine the point, the cursor to the automatic positioning error source, at this point in the immediate window can be used? Auxiliary debugging variable name command displays the value of a variable,

CodePudding user response:

The source code is not simple
But you also don't know much about
Are you still find a vb give you get
Is unlikely to put up all the code.

CodePudding user response:

Reasons are values outside the range data, only exe no source cannot solve the problems, Suggestions or look for a software company to help again, PS: you should have the acceptance of,,,,

CodePudding user response:

There is a simple way is all Integer to replace in the source code into Long, generation again,