
26 Chapter 1 • New Features in Visual Basic .NET
Table 1.11 Variable Lengths in Bits
Bit Length VB 6.0 VB.NET
8 bits Short Byte
16 bits Integer Short
32 bits Long Integer
64 bits N/A Long
These definitions bring the standards in line with those used in the rest of the
.NET suite of application development tools.Although some of these variable
names will be automatically substituted when a VB 6.0 application is imported
into VB.NET, you should still examine the finished code to make sure that the
new code reflects your application needs. (Also be aware that this will also affect
the changes made in the API calls—if it used to be a Long, it should now be an ...