How are Visual Basic 6.0 Declarations upgraded?
The upgrade wizard automatically upgrades variable declarations to their equivalent.NET Framework types, following the Visual Basic .NET structure and taking into account the Visual Basic 6.0 declaration guidelines. For example, in Visual Basic .NET, variables must be declared explicitly, and there is no Variant data type, so in those cases the upgrade wizard changes the code to declare using the Object data type, which is the .NET Frameworkâs closest equivalent to Variant.