Integer, 2 bytes, range-215 ~+215-1(default operation)
Long, 4 bytes, ranging from-231~+231-1.
In vb.net:
Integer, 4 bytes, range-231~+231-1.
Long, 8 bytes, with values ranging from-263 to+263-1.
In vb6, Long is slightly faster than Integer.
In VB.NET, Integer is faster than Long on 32-bit CPU, and it is almost the same in theory on 64-bit CPU.