run time error '6' Overflow in visual basic 6.0

vb6

Solution

The "Overflow" error means that you are trying to put a number into a variable (or property etc), and the data type of the variable doesn't allow numbers that large.

Make sure that numbers used in calculations that are coerced into integers do not have results larger than integers.

Problem

I am getting a run time error '6' Over Flow in vb 6

Original source

Related problems