F fniles Dec 12, 2006 #1 In VB6, we use Integer and Long. In VB.NET does Integer becomes Int32 and Long becomes Integer ? Thanks.
In VB6, we use Integer and Long. In VB.NET does Integer becomes Int32 and Long becomes Integer ? Thanks.
T Tim Patrick Dec 12, 2006 #2 In VB6, Integer is 16 bits, the same as .NET's Int16 data type. In VB.NET, Integer is 32 bits, the same as .NET's Int32. In VB6 Long is 32 bits, the same as .NET's Int32 data type. In VB.NET, Long is 64 bits, the same as .NET's Int64.
In VB6, Integer is 16 bits, the same as .NET's Int16 data type. In VB.NET, Integer is 32 bits, the same as .NET's Int32. In VB6 Long is 32 bits, the same as .NET's Int32 data type. In VB.NET, Long is 64 bits, the same as .NET's Int64.
H Herfried K. Wagner [MVP] Dec 12, 2006 #3 fniles said: In VB6, we use Integer and Long. In VB.NET does Integer becomes Int32 and Long becomes Integer ? Click to expand... VB6: 'Integer' = 16-bit signed integer. 'Long' = 32-bit signed integer. VB.NET: 'Short' ('System.Int16') = 16-bit signed integer. 'Integer' ('System.Int32') = 32-bit signed integer. 'Long' ('System.Int64') = 64-bit signed integer.
fniles said: In VB6, we use Integer and Long. In VB.NET does Integer becomes Int32 and Long becomes Integer ? Click to expand... VB6: 'Integer' = 16-bit signed integer. 'Long' = 32-bit signed integer. VB.NET: 'Short' ('System.Int16') = 16-bit signed integer. 'Integer' ('System.Int32') = 32-bit signed integer. 'Long' ('System.Int64') = 64-bit signed integer.