
702 Chapter 14 • Upgrading Visual Basic Applications to .NET
The changes that the Upgrade Wizard makes to the existing code are quite
noteworthy:
1. The Upgrade Wizard creates a new interface called _ICalc.This name is
the name of the Visual Basic 6.0 class that holds the interface definitions.
2. The interface definitions are coded within the Interface…End Interface.
The End Functions are also removed so that definitions contain only the
function names without any implementation code.
3. The integer data type is changed to short.
4. The Upgrade Wizard then creates a new class called ICalc that derives
from _ICalc.This wrapper class contains interface member ...